ocen-lang/ocen

Struct bug

Closed this issue · 1 comments

I'm newbie have test how to set comptime static var in struct, So ...

struct Test {
    let var: u32 //  if has const or let building no error, But always loop can't exits must kill
}

Parsing is still not super robust... I suspect there's other cases where we might infinite loop too. Thanks for pointing this out. Feel free to reach out on Discord (@segfault404) if you see anything else, more than happy to chat about any feedback you have!