mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-12 06:11:26 -07:00
Fix procedure overloading distinguishing
This commit is contained in:
+3
-3
@@ -1173,9 +1173,9 @@ 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.calling_convention != py.calling_convention) {
|
||||
// return ProcOverload_CallingConvention;
|
||||
// }
|
||||
|
||||
if (px.param_count != py.param_count) {
|
||||
return ProcOverload_ParamCount;
|
||||
|
||||
Reference in New Issue
Block a user