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

fixed macro expansion when crystal spec is run. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

domgetter
Copy link

crystal spec was failing to compile due to a name clash of the "select" method. This commit changes the tag names to strings for macro expansion so that spec can compile correctly.

Let me know if this is acceptable or you want anything changed.

@domgetter
Copy link
Author

It appears that the select keyword is the underlying problem. crystal-lang/crystal#3130

Passing the tag names as strings at compile time does fix the problem (and protects against any future changes to keywords), but let me know if you don't think it's the best solution.

@veelenga
Copy link
Contributor

veelenga commented Oct 24, 2017

Oh, sorry, i haven't seen this PR. Just did the same in #4 and it has been merged.

@domgetter my apologies!

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

Successfully merging this pull request may close these issues.

None yet

2 participants