Skip to content

Fix creation of symbol token #488

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

Merged
merged 2 commits into from
Aug 22, 2017
Merged

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Aug 11, 2017

Symbol tokens are created form TkIDENTIFIER with ":", but there are several other cases. Subclasses of TkIdcan become symbol token with ":", for example reserved keywords can become symbol;

{ undef: :undef }

This Pull Request fixes it.

Symbol tokens are created form TkIDENTIFIER with ":",
but there are several other cases.
Subclasses of TkId can become symbol token with ":",
for example reserved keywords can become symbol, "{ undef: undef }".
This commit fixes it.
@hsbt hsbt self-assigned this Aug 15, 2017
@hsbt
Copy link
Member

hsbt commented Aug 22, 2017

A test case is good to me.

@hsbt hsbt merged commit 8cac561 into ruby:master Aug 22, 2017
@aycabta aycabta deleted the fix-creation-of-symbol-token branch August 22, 2017 11:01
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.

2 participants