diff options
| author | gingerBill <bill@gingerbill.org> | 2019-11-05 19:40:08 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-11-05 19:40:08 +0000 |
| commit | 8a46b493fda7cafa5320a9f2bfbd3c0317038545 (patch) | |
| tree | dde107194cb9dd7f979852d15508512f001bd129 /examples | |
| parent | 86abdc060340469ba546e9c4db64453bf8b49d4f (diff) | |
Fix Slice passed incorrectly in LLVM IR to procedure called via procedure pointer #465
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo/demo.odin | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index 168efb434..8dc5340c9 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -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(); |