You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4e07d3f
Odin: dev-2024-10
OS: Windows 10 Professional (version: 22H2), build 19045.5011
CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
RAM: 16086 MiB
Backend: LLVM 18.1.8
Current Behavior
LLVM assertion fires with Odin\src\check_expr.cpp(6457): Assertion Failure: `is_type_proc(proc_type)`
Failure Information (for bugs)
Steps to Reproduce
foo :: proc {
foo_a,
foo_b,
}
foo_a :: proc(a, b: int) -> int {
return a;
}
foo_b :: proc(a, b: int) -> int {
return a;
}
main :: proc() {
x := foo(1);
}
The assertion happens if you call the proc. Otherwise it shows the error with Error: Overloaded procedure 'foo_a' has the same type as another procedure in the procedure group 'foo' and so on.
The assertion doesn't happen if you have only one parameter in the procs.
The text was updated successfully, but these errors were encountered:
Context
Current Behavior
LLVM assertion fires with
Odin\src\check_expr.cpp(6457): Assertion Failure: `is_type_proc(proc_type)`
Failure Information (for bugs)
Steps to Reproduce
The assertion happens if you call the proc. Otherwise it shows the error with
Error: Overloaded procedure 'foo_a' has the same type as another procedure in the procedure group 'foo'
and so on.The assertion doesn't happen if you have only one parameter in the procs.
The text was updated successfully, but these errors were encountered: