From e4a82833275acc166313ff11613bcc748309571a Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Thu, 29 Jun 2017 15:48:07 +0100 Subject: Remove `Type` What was I thinking?! --- code/demo.odin | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'code') 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; -- cgit v1.2.3