Akuli / jou

Yet another programming language
MIT License
11 stars 4 forks source link

compiler segfault when struct contains array of pointers to itself #473

Open Akuli opened 6 months ago

Akuli commented 6 months ago

This crashes the jou compiler:

class Module:
    name: byte[10]
    receives_broadcasts: bool

    sources: Module*[10]
    nsources: int
    destinations: Module*[10]
    ndestinations: int

def main() -> int:
    m = Module{}
    return 0