Squashing compound bugs

This commit is contained in:
Krzosa Karol
2022-06-11 09:59:03 +02:00
parent b76b9c605a
commit 3b4e14a089
2 changed files with 5 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ Boolean: Bool = true
//-----------------------------------------------------------------------------
array1: [4]S64 = {1,2,3,4}
imp_array := [5]S64{1,2}
// imp_array := [5]S64{1,2} // @todo this works for some reason
// imp_array_a := [5]S64{1,2,3,4,5,6}
// imp_array_b: [5]S64 = {1,2,3,4,5,6}
imp_array_c: [5]S64 = {[0] = 1, [2] = 2, [1] = 0} // @todo this should be illegal
//-----------------------------------------------------------------------------
// Pointers