mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Add tokens
This commit is contained in:
1 parent
7a142168be
commit
737e31ff3a
17 files changed
+498
-36
No files matched your search
@@ -462,7 +462,7 @@ func (g *gen) writeFuncImplArgChecks(b *buffer, n *a.Func) error {
|
||||
|
||||
// TODO: Also check elements, for array-typed arguments.
|
||||
switch {
|
||||
case oTyp.IsIOType() || (oTyp.Decorator() == t.IDPtr):
|
||||
case oTyp.IsIOTokenType() || (oTyp.Decorator() == t.IDPtr):
|
||||
checks = append(checks, fmt.Sprintf("!%s%s", aPrefix, o.Name().Str(g.tm)))
|
||||
|
||||
case oTyp.IsRefined():
|
||||
|
||||
Reference in new issue
Block a user