mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Use "T[..inclMax]" instead of "T[:exclMax]".
This commit is contained in:
1 parent
d3eba13223
commit
9184e2682e
9 files changed
+53
-44
No files matched your search
+1
-1
@@ -524,7 +524,7 @@ func (q *checker) tcheckTypeExpr(n *a.TypeExpr, depth uint32) error {
|
||||
}
|
||||
break
|
||||
}
|
||||
if n.InclMin() != nil || n.ExclMax() != nil {
|
||||
if n.Min() != nil || n.Max() != nil {
|
||||
// TODO: reject.
|
||||
}
|
||||
// TODO: see if name refers to a struct type.
|
||||
|
||||
Reference in new issue
Block a user