mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 15:05:00 -07:00
Fix Slice passed incorrectly in LLVM IR to procedure called via procedure pointer #465
This commit is contained in:
+1
-11
@@ -1350,17 +1350,7 @@ soa_struct_layout :: proc() {
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
id: typeid;
|
||||
id = typeid_of(int);
|
||||
|
||||
if id == bool {
|
||||
fmt.println("HERE1");
|
||||
}
|
||||
fmt.println("HERE2");
|
||||
|
||||
|
||||
|
||||
when false {
|
||||
when true {
|
||||
extra_general_stuff();
|
||||
union_type();
|
||||
parametric_polymorphism();
|
||||
|
||||
Reference in New Issue
Block a user