Compiler messages are now printed in color with their respective code, field access support has been added in the type checker. However, field access nodes that contain other field access nodes are not yet supported. Signed-off-by: Slendi <slendi@socopon.com>
9 lines
63 B
Plaintext
9 lines
63 B
Plaintext
struct A {
|
|
a b: i32,
|
|
}
|
|
|
|
let inst := .A{ 1 2 }
|
|
|
|
inst.a as u32
|
|
|