aboutsummaryrefslogtreecommitdiff
path: root/src/type.cff
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.cff')
-rw-r--r--src/type.cff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type.cff b/src/type.cff
index 97fc44a..ecd8d77 100644
--- a/src/type.cff
+++ b/src/type.cff
@@ -167,7 +167,7 @@ fn rank2numtype(r int) *const Type {
}
extern fn typeof2(a *const Type, b *const Type) *const Type {
- if a == b and not a->is(:Int) {
+ if a == b and !a->is(:Int) {
return a;
}
if isnumtype(a) and isnumtype(b) {