mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-17 15:54:07 +10:00
Reworked the type system, types now have a single value
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
var arr : [int] = [1, 2, 3, 42];
|
||||
var dict : [string, int] = ["hello": 1, "world":2];
|
||||
|
||||
|
||||
|
||||
var dict : [string, int] = ["hello" : 1, "world" : 2];
|
||||
print arr;
|
||||
print dict;
|
||||
Reference in New Issue
Block a user