Fixes to ABI

This commit is contained in:
gingerBill
2019-05-29 16:49:26 +01:00
parent b894e2b378
commit 654740d5b1
3 changed files with 16 additions and 17 deletions

View File

@@ -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) {