aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-04-04 21:54:55 +0100
committerGinger Bill <bill@gingerbill.org>2017-04-04 21:54:55 +0100
commit3e80411d374d3dd7fc90e22d4f900144cfb6ef3a (patch)
tree7835e4d35f363e5d15b77fffadd38c818826ed15 /code
parent382a5ca6a27ea0f6dde4c0783d55f5dca8ac2575 (diff)
Fix issue #31; Removed `down_cast`
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin6
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);
+ }
}