aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
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;
}