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

Test for __CLASS__ parsing bug #150

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Test for __CLASS__ parsing bug #150

wants to merge 4 commits into from

Conversation

Ovid
Copy link
Contributor

@Ovid Ovid commented Nov 18, 2013

See #147

Currently, this only happens in list context.
See stevan#147

It's possible that this is not a bug, but if so, it's very mysterious and
needs a better error message.

To replicate this bug, eval a class into existence either by eval'ing it or
'eval "use $class"'; (using a class directly is fine). The class must contain
a __CLASS__ token and you must NOT be in package main when you eval.
@doy
Copy link
Collaborator

doy commented Nov 18, 2013

This is another issue similar to the method method { } stuff we were running into earlier. It should also be fixed when we get lexical keywords working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants