Skip to content

Dot Notation on List of Structs Causes Codegen Error and Invalid SB3 Output #152

@aspizu

Description

@aspizu
struct line {inner}
list line scene;
onflag {
    say scene.inner;
}

eprints

attempted to codegen Expr::Dot lhs = Name(
    Name {
        name: "scene",
        span: 82..87,
    },
), rhs = "inner"

and outputs invalid sb3

Metadata

Metadata

Assignees

No one assigned

    Labels

    onlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions