-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Wrong structure on let b = 1 = 1 in
(OCaml)
#409
Comments
However, parentheses fix it: let f () =
let b : bool = (1 = 1) in
let x = 0 in
x
|
giraud
added a commit
that referenced
this issue
May 4, 2023
Fixed in 0.112 |
It looks like the fix doesn't support general expressions, e.g.: let f () =
let b : bool = ignore () = () in
let x = 0 in
x
Thank you for all the other fixes; that was fast! |
@nahoj can you test with 0.113 please ? |
It works on the previous example, but not on this one: let f () =
let b : bool = ignore "" = () in
let x = 0 in
x |
It should be ok in 0.115 |
Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
plugin version: 0.111-2023.1
Description
This code is parsed into the wrong structure:
The text was updated successfully, but these errors were encountered: