aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-01 11:38:44 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-01 11:38:44 +0100
commited089b44b9634c431785b5fa40c086f59900d740 (patch)
tree3535d2a7a6fc0b5dfb90671b18926beedd753a6f /src/types.cpp
parent33f4af2e195fcaa7a5b4fa7ea25a464f3597f18c (diff)
`do` keyword for inline statements instead of blocks
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/types.cpp b/src/types.cpp
index d41843ddc..d941b5450 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -1353,14 +1353,16 @@ ProcTypeOverloadKind are_proc_types_overload_safe(Type *x, Type *y) {
TypeProc px = base_type(x)->Proc;
TypeProc py = base_type(y)->Proc;
- // if (px.calling_convention != py.calling_convention) {
- // return ProcOverload_CallingConvention;
- // }
if (px.is_polymorphic != py.is_polymorphic) {
return ProcOverload_Polymorphic;
}
+
+ // if (px.calling_convention != py.calling_convention) {
+ // return ProcOverload_CallingConvention;
+ // }
+
if (px.param_count != py.param_count) {
return ProcOverload_ParamCount;
}