diff options
| author | 2022-08-16 05:32:02 +0200 | |
|---|---|---|
| committer | 2022-08-16 05:32:02 +0200 | |
| commit | 77b2ae9b24d07770fdd22530bf22061a275cc0f0 (patch) | |
| tree | 8012f9730b1a2e725b45a2255e7c7a0e6eefc40a /src/type.cff | |
| parent | 73f68a9c5ed4c8139cc1c4f7695da29e5a3fb4c8 (diff) | |
change 'not' to '!'
it looks nicer
Diffstat (limited to 'src/type.cff')
| -rw-r--r-- | src/type.cff | 2 |
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) { |