Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop with wrong struct method syntax #134

Open
rjharmon opened this issue Nov 7, 2024 · 0 comments
Open

Infinite loop with wrong struct method syntax #134

rjharmon opened this issue Nov 7, 2024 · 0 comments

Comments

@rjharmon
Copy link
Contributor

rjharmon commented Nov 7, 2024

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 () {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant