Fix broken struct type inference.

This commit is contained in:
2024-04-11 09:15:08 -07:00
parent 8479a84e07
commit cfcb3f042b
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
struct Point {
x: u64;
y: u64;
}
test = Point {
x: 1;
y: 2;
};
foo = test.x;
print foo;