Skip to content

Infinite loop with wrong struct method syntax #134

Open
@rjharmon

Description

@rjharmon
struct foo {
    x: Int

    func borked() {
        error("no bueno")
    }
}

Actual: infinite loop / OOM; ErrorCollector gets unlimited errors but it never seems to make progress to next tokens

Expected: error pointing me to the problem at () {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions