diff --git a/lang/check/type.go b/lang/check/type.go index 2a1c8536..f06cd67b 100644 --- a/lang/check/type.go +++ b/lang/check/type.go @@ -972,6 +972,7 @@ swtch: } fallthrough + // TODO: also check t.KeyNptr? Where else should we look for nptr? case t.KeyPtr, t.KeyColon: if err := q.tcheckTypeExpr(n.Inner(), depth); err != nil { return err