From f259d3c40156a84acbbe1c6171f2be70ff81ad01 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 28 Sep 2017 13:36:39 +1000 Subject: [PATCH] Add TODO to type check "nptr T". --- lang/check/type.go | 1 + 1 file changed, 1 insertion(+) 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