Fixed issues inferring length with subarrays. Removed old, non-working example. Infer length in the case of subarray literals.

This commit is contained in:
Christoffer Lerno
2023-09-12 22:24:20 +02:00
parent d61482dffc
commit 1d04b70efe
9 changed files with 61 additions and 81 deletions

View File

@@ -0,0 +1,5 @@
fn void main()
{
int[*][*][] x = int[2][1][] { { { 1, 2 } } };
int[*][*][*] y = int[2][1][] { { { 1, 2 } } };
}