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

Brace completion changes outer list to array in error #274

Open
NinoFloris opened this issue Jun 4, 2021 · 0 comments
Open

Brace completion changes outer list to array in error #274

NinoFloris opened this issue Jun 4, 2021 · 0 comments

Comments

@NinoFloris
Copy link

Brace completion changes outer list to array in error.

Take an example like:

let x = [
    [| (* start a new array before this element *) box 1; box"some key"|]
] // outer list is changed to array

Resulting in broken code after brace completion.

let x = [
    [| [|box 1; box"some key"|]
|]

Another way to trigger it is:

let x = [(*start a new array directly before this array open, leaving no whitespace*)[||]]
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