Add a TypeExpr type expression

This commit is contained in:
Nigel Tao committed 2018-07-07 21:57:15 +10:00
1 parent 295cbbccae
commit 731ca8841b
5 files changed
+39 -29

No files matched your search

+1 -1
View File
@@ -1001,7 +1001,7 @@ swtch:
default:
return fmt.Errorf("check: %q is not a type", typ.Str(q.tm))
}
setPlaceholderMBoundsMType(typ.AsNode())
typ.AsNode().SetMType(typeExprTypeExpr)
return nil
}