also, types exist in the ast, but are interned after parsing refs and typerefs are resolved true and false in the intern pool, need to add them to primaryexpr structs in the internpool take a decl to differentiate struct types of the same name field access postfix expr? also nesting postfix expr (e.g. var[1][2]) arrays can only be specified with integral constants as length fixes: sinttype and uinttype store bits inline in item.index correctly mut/var decl assignment? have correct doc strings let/var symbol is inserted after the assignment expr, so that the expr can still use now-shadowed variables structs can have fields of type pointer-to-self (ast) lots of wrong-cases in node children getting
4 lines
48 B
Plaintext
4 lines
48 B
Plaintext
fn main() {
|
|
var arr: [4] u8;
|
|
arr[0] = 1;
|
|
} |