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

Parsing error with parenthesized explicit arg with attributes #3530

Closed
mtzguido opened this issue Oct 6, 2024 · 0 comments
Closed

Parsing error with parenthesized explicit arg with attributes #3530

mtzguido opened this issue Oct 6, 2024 · 0 comments

Comments

@mtzguido
Copy link
Member

mtzguido commented Oct 6, 2024

let _ = x:int -> bool
let _ = #x:int -> bool
let _ = #[@@@1]x:int -> bool
let _ = [@@@1]x:int -> bool

let _ = (x:int) -> bool
let _ = (#x:int) -> bool
let _ = (#[@@@1]x:int) -> bool
let _ = ([@@@1]x:int) -> bool

Only the last line fails to parse.

* Error 168 at B.fst(11,21-11,21):
  - Syntax error
mtzguido added a commit to mtzguido/FStar that referenced this issue Oct 6, 2024
mtzguido added a commit that referenced this issue Oct 6, 2024
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