Delete old scoping code, working on any types
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
|
||||
|
||||
main :: (argc: int, argv: **char): int
|
||||
test_any()
|
||||
test_type()
|
||||
|
||||
|
||||
test_any :: ()
|
||||
some_int_value := 10
|
||||
thing: Any = some_int_value
|
||||
other_any: Any = thing
|
||||
imp_any := thing
|
||||
|
||||
assert(thing.type != Any)
|
||||
|
||||
Some_Struct :: struct
|
||||
thing: int
|
||||
@@ -43,4 +43,4 @@ test_type :: ()
|
||||
t6 := get_type_info(type6)
|
||||
t61 := get_type_info(t6.base_type)
|
||||
t62 := get_type_info(t61.base_type)
|
||||
assert(t62.kind == Type_Info_Kind.POINTER)
|
||||
assert(t62.kind == Type_Info_Kind.POINTER)
|
||||
Reference in New Issue
Block a user