Check "i < j" when i's type refines j's type.

This commit is contained in:
Nigel Tao committed 2017-05-13 10:40:48 +10:00
1 parent 87dcd9ed55
commit 7367a382b2
4 files changed
+27 -8

No files matched your search

+2 -1
View File
@@ -359,7 +359,8 @@ func NewContinue() *Continue {
}
}
// TypeExpr is a type expression, such as "u32", "pkg.foo", "ptr T" or "[8] T":
// TypeExpr is a type expression, such as "u32", "u32[:8]", "pkg.foo", "ptr T"
// or "[8] T":
// - ID0: <0|package name|IDPtr|IDOpenBracket>
// - ID1: <0|type name>
// - LHS: <nil|Expr>