mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Don't reserve "ideal" as a keyword.
Use "ℤ" instead, which can never conflict with user-defined identifiers, as it is non-ASCII, but also the mathematical meaning of "ℤ" perfectly captures the concept of an ideal integer type.
This commit is contained in:
1 parent
cf41f0406b
commit
0aa6a0f1c2
2 files changed
+18
-5
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ func (e *Error) Error() string {
|
||||
// TypeExprFoo is an *ast.Node MType (implicit type).
|
||||
var (
|
||||
TypeExprBool = a.NewTypeExpr(0, t.IDBool, nil, nil, nil)
|
||||
TypeExprIdeal = a.NewTypeExpr(0, t.IDIdeal, nil, nil, nil)
|
||||
TypeExprIdeal = a.NewTypeExpr(0, t.IDDoubleZ, nil, nil, nil)
|
||||
TypeExprU8 = a.NewTypeExpr(0, t.IDU8, nil, nil, nil)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user