mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Added the typeas keyword to avoid ambiguity
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
|
||||
|
||||
var complex: type = type [string: [int]];
|
||||
var deep: type = type [[[ int ]]];
|
||||
var complex: type = typeas [string: [int]];
|
||||
var deep: type = typeas [[[ int ]]];
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user