Add TODO to type check "nptr T".

This commit is contained in:
Nigel Tao committed 2017-09-28 13:36:39 +10:00
1 parent 0dd7aaf56c
commit f259d3c401
1 file changed
+1
+1
View File
@@ -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