*_of as keyords; Allow constant aliasing for user/built-in procedures, import names, and library names

This commit is contained in:
Ginger Bill
2017-07-04 11:23:48 +01:00
parent bc16b290ba
commit 689a0c0b49
9 changed files with 232 additions and 49 deletions
+6 -4
View File
@@ -1,6 +1,5 @@
import (
"fmt.odin";
/*
"atomics.odin";
"bits.odin";
"decimal.odin";
@@ -16,6 +15,7 @@ import (
"types.odin";
"utf8.odin";
"utf16.odin";
/*
*/
)
@@ -370,9 +370,11 @@ main :: proc() {
foo :: proc(x: type, y: f32) do fmt.println("#2", type_info(x), y);
foo :: proc(x: type) do fmt.println("#3", type_info(x));
foo(y = 3785.1546, x = 123);
foo(x = int, y = 897.513);
foo(x = f32);
f :: foo;
f(y = 3785.1546, x = 123);
f(x = int, y = 897.513);
f(x = f32);
/*
general_stuff();
foreign_blocks();