Skip to content

segfault when calling method of a variable before declaration #549

@AndrewAday

Description

@AndrewAday
class Map {
    fun void f() {}
}

class Automata  {
    changeCell();
    fun void changeCell() { map.f(); }

}

Map map;
Automata automata;

Results in segfault (on chuck main branch, April 11 2026)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions