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

Macro works when it shouldn't when macro ends with just one } #5417

Closed
paulcsmith opened this issue Dec 19, 2017 · 0 comments
Closed

Macro works when it shouldn't when macro ends with just one } #5417

paulcsmith opened this issue Dec 19, 2017 · 0 comments

Comments

@paulcsmith
Copy link
Contributor

Here is a minimal test case: https://play.crystal-lang.org/#/r/39kv

macro test
  {% foo = "bar" }
  {% p foo %}
end
  
test

This works, but should probably fail because it is missing a %

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