Rename typeExprU8 to typeExprPlaceholder.

This commit is contained in:
Nigel Tao committed 2017-06-11 13:55:41 +10:00
1 parent e5736cadf6
commit c27bec10d3
2 files changed
+8 -6

No files matched your search

+3 -1
View File
@@ -59,7 +59,9 @@ func trimQuotes(s string) string {
var (
typeExprBool = a.NewTypeExpr(0, t.IDBool, nil, nil, nil)
typeExprIdeal = a.NewTypeExpr(0, t.IDDoubleZ, nil, nil, nil)
typeExprU8 = a.NewTypeExpr(0, t.IDU8, nil, nil, nil)
// TODO: delete this.
typeExprPlaceholder = a.NewTypeExpr(0, t.IDU8, nil, nil, nil)
)
// TypeMap maps from variable names (as token IDs) to types.