From 77b2ae9b24d07770fdd22530bf22061a275cc0f0 Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 16 Aug 2022 05:32:02 +0200 Subject: change 'not' to '!' it looks nicer --- src/type.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/type.cff') 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) { -- cgit v1.2.3