From 240da5c8e047acf14802fe1fc2a9d93fc374ca72 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Tue, 4 Jul 2017 16:06:08 +0100 Subject: Allow aliasing of aliases --- code/demo.odin | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'code') 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; -- cgit v1.2.3