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
@@ -716,7 +716,7 @@ func (n *TypeExpr) IsBool() bool {
}
func (n *TypeExpr) IsIdeal() bool {
return n.id0 == 0 && n.id1 == t.IDBase && n.id2 == t.IDDoubleZ
return n.id0 == 0 && n.id1 == t.IDBase && n.id2 == t.IDQIdeal
}
func (n *TypeExpr) IsIOType() bool {