diff options
| author | gingerBill <bill@gingerbill.org> | 2019-05-29 16:49:26 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-05-29 16:49:26 +0100 |
| commit | 654740d5b110328e2c6b86f8f0cbd7853e730cfa (patch) | |
| tree | 81fa5d8efd7e59edb97ef52593d04c94448ec3d2 /src/check_decl.cpp | |
| parent | b894e2b3788307546e330bd43304e5ff785dac51 (diff) | |
Fixes to ABI
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 07c0d1828..da2214d89 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -440,7 +440,7 @@ bool sig_compare(TypeCheckSig *a, TypeCheckSig *b, Type *x, Type *y) { if (a == b) { return sig_compare(a, x, y); } - return (a(x) && b(y) || b(x) && a(y)); + return ((a(x) && b(y)) || (b(x) && a(y))); } bool signature_parameter_similar_enough(Type *x, Type *y) { |