New cast '->'

This commit is contained in:
Krzosa Karol
2022-06-13 15:38:54 +02:00
parent 2503a6d680
commit f9487a2c24
6 changed files with 22 additions and 46 deletions

View File

@@ -6,7 +6,7 @@ test: Test
member := test.len
enum_val: Memory.Allocator_Kind = Memory.Allocator_Kind.Heap
other_enum_val: S64 = cast(enum_val: S64)
other_enum_val: S64 = enum_val->S64
a_type :: S64
pointer_type :: *S64