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

Parse error when one cell contains multiple multi-line quasiquotes #1375

Open
SmartHypercube opened this issue Oct 7, 2022 · 0 comments
Open

Comments

@SmartHypercube
Copy link
Contributor

Steps to reproduce

Cell 1:

:extension TemplateHaskell QuasiQuotes
import PyF

Cell 2:

[fmt|a|] <> [fmt|b|]

Cell 3:

[fmt|a|] <> [fmt|
b
|]

Cell 4:

[fmt|
a
|] <> [fmt|b|]

Cell 5:

[fmt|
a
|] <> [fmt|
b
|]

Expected result

All cells run without problem.

Actual result

Only cell 5 produces error:

Parse error (line 1, column 1): unterminated quasiquotation at end of input

Parse error (line 3, column 1): parse error on input ‘|]’
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