Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix parsing A[a~b] #288

Merged
merged 1 commit into from
Jun 21, 2021
Merged

Fix parsing A[a~b] #288

merged 1 commit into from
Jun 21, 2021

Conversation

YingboMa
Copy link
Contributor

@YingboMa YingboMa commented Jun 19, 2021

Fixes #285

The bug is introduced by #122. I don't really understand why ~ is special when ps.closer.insquare || ps.closer.inmacro, so I just removed it. It'd be nice if that PR added tests.

@pfitzseb
Copy link
Member

Yeah, I don't see any parsing differences between Julia 1.4 and previous versions that would warrant this check, so I'll merge this for now.

@pfitzseb pfitzseb merged commit 306ab3d into julia-vscode:master Jun 21, 2021
@YingboMa YingboMa deleted the myb/fix branch June 21, 2021 08:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing error inside vect expression with ~
3 participants