mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Remove builtin.ParseFuncs "generic" argument
This commit is contained in:
1 parent
e9897f6efb
commit
a6ee0ee391
4 files changed
+27
-21
No files matched your search
@@ -461,12 +461,11 @@ func parseBuiltInInterfaceMethods() error {
|
||||
if len(builtInInterfaceMethods) != 0 {
|
||||
return nil
|
||||
}
|
||||
return builtin.ParseFuncs(&builtInTokenMap, builtin.InterfaceFuncs, false,
|
||||
func(f *a.Func) error {
|
||||
qid := f.Receiver()
|
||||
builtInInterfaceMethods[qid] = append(builtInInterfaceMethods[qid], f)
|
||||
return nil
|
||||
})
|
||||
return builtin.ParseFuncs(&builtInTokenMap, builtin.InterfaceFuncs, func(f *a.Func) error {
|
||||
qid := f.Receiver()
|
||||
builtInInterfaceMethods[qid] = append(builtInInterfaceMethods[qid], f)
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
type gen struct {
|
||||
|
||||
Reference in new issue
Block a user