Add interface method implementations

This commit is contained in:
Nigel Tao committed 2020-01-06 23:24:08 +11:00
1 parent 0c63d6e489
commit 4323a16707
4 files changed
+84 -17

No files matched your search

+4
View File
@@ -887,6 +887,10 @@ func NewConst(flags Flags, filename string, line uint32, name t.ID, xType *TypeE
}
}
// MaxImplements is an advisory limit for the number of interfaces a Struct can
// implement.
const MaxImplements = 63
// Struct is "struct ID2(List0)" or "struct ID2?(List0)":
// - FlagsPublic is "pub" vs "pri"
// - FlagsClassy is "ID2" vs "ID2?"