diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-29 15:48:07 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-29 15:48:07 +0100 |
| commit | e4a82833275acc166313ff11613bcc748309571a (patch) | |
| tree | db2531ec560e9bbde90bf1836bf2578549ab5157 /code | |
| parent | 001baf4419da9c43d4ef68d7ec1eac638d6fb742 (diff) | |
Remove `Type`
What was I thinking?!
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/code/demo.odin b/code/demo.odin index 9e5b43739..919b5a0a4 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -379,19 +379,6 @@ main :: proc() { // Command line argument(s)! // -opt=0,1,2,3 - a: Type = int; - b: Type = f32; - c: Type = int; - match a { - case int: fmt.println("a == int"); - case f32: fmt.println("a == f32"); - case: fmt.println("What type is a?"); - } - assert(a != b); - assert(b != c); - assert(a == c); - - program := "+ + * - /"; accumulator := 0; |