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

Incorrect errors in combination between reveal and outline #790

Open
HSMF opened this issue Oct 13, 2024 · 0 comments
Open

Incorrect errors in combination between reveal and outline #790

HSMF opened this issue Oct 13, 2024 · 0 comments
Labels

Comments

@HSMF
Copy link

HSMF commented Oct 13, 2024

The following snippet reports errors related to reveal when the issue in fact is in outline. This happens no matter how many statements and even functions are between the reveal and the outline.

package main

func foo() {

    assert reveal f() == 1
    //                ^ unexpected ==, expecting arguments

    decreases
    outline (
    assert true

    // expected error: unexpected } in outlineStatement, expecting ')'
}
@jcp19 jcp19 added the parsing label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants