aboutsummaryrefslogtreecommitdiff
path: root/code/demo.odin
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-04 16:06:08 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-04 16:06:08 +0100
commit240da5c8e047acf14802fe1fc2a9d93fc374ca72 (patch)
treea4a1d7e98d92d21ece52ed17b03e03fdd0fbeac0 /code/demo.odin
parent689a0c0b4955e5325c5409855632a3d4a154b41e (diff)
Allow aliasing of aliases
Diffstat (limited to 'code/demo.odin')
-rw-r--r--code/demo.odin6
1 files changed, 1 insertions, 5 deletions
diff --git a/code/demo.odin b/code/demo.odin
index 91f3e132e..3d263b8e8 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -250,10 +250,6 @@ explicit_parametric_polymorphic_procedures :: proc() {
a, b = b, a; // Or use this syntax for this silly example case
-
-
-
-
// A more complicated example using subtyping
// Something like this could be used in a game
Vector2 :: struct {x, y: f32};
@@ -375,7 +371,6 @@ main :: proc() {
f(y = 3785.1546, x = 123);
f(x = int, y = 897.513);
f(x = f32);
-/*
general_stuff();
foreign_blocks();
default_arguments();
@@ -387,6 +382,7 @@ main :: proc() {
// Command line argument(s)!
// -opt=0,1,2,3
+/*
program := "+ + * - /";
accumulator := 0;