diff options
| author | gingerBill <bill@gingerbill.org> | 2018-02-24 19:03:29 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-02-24 19:03:29 +0000 |
| commit | 35ba5771a5dbe5fec3fea8804fb46fe843478830 (patch) | |
| tree | d46c33864d8a2b14a2bba7c860ce2cf875f2bc39 /examples/old_stuff | |
| parent | b2461f7192684f979301be9f174237e740ec28c6 (diff) | |
Replace `compile_assert` with `#assert`
Diffstat (limited to 'examples/old_stuff')
| -rw-r--r-- | examples/old_stuff/demo_backup.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/old_stuff/demo_backup.odin b/examples/old_stuff/demo_backup.odin index 8eeaeb357..6a7952ae1 100644 --- a/examples/old_stuff/demo_backup.odin +++ b/examples/old_stuff/demo_backup.odin @@ -50,9 +50,9 @@ general_stuff :: proc() { foo := Foo{123, 0.513, "A string"}; x, y, z := expand_to_tuple(foo); fmt.println(x, y, z); - compile_assert(type_of(x) == int); - compile_assert(type_of(y) == f32); - compile_assert(type_of(z) == string); + #assert(type_of(x) == int); + #assert(type_of(y) == f32); + #assert(type_of(z) == string); // By default, all variables are zeroed |