diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-04-04 21:54:55 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-04-04 21:54:55 +0100 |
| commit | 3e80411d374d3dd7fc90e22d4f900144cfb6ef3a (patch) | |
| tree | 7835e4d35f363e5d15b77fffadd38c818826ed15 /code | |
| parent | 382a5ca6a27ea0f6dde4c0783d55f5dca8ac2575 (diff) | |
Fix issue #31; Removed `down_cast`
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin index ba157a977..af7f453c5 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -14,5 +14,9 @@ #import "utf16.odin"; main :: proc() { - + if x := 0; x < 0 { + fmt.println(x); + } else { + fmt.println(x); + } } |