-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Multiple Errors #195
Comments
@marcandre This issue contains 2 classes: The splat node not dispatching mlhs correctly, that one is fixed. The other is the dstr issue I discuss in #196 |
@marcandre There is another class, and its interesting: contains code like this:
that when parsed with parser:
fails. I do not think unparser will and should not ever work on code like this, until I'll put that file on the ignore list for the moment. |
Absolutely 👍 |
I find it difficult to know what triggered an error. I understand
unparser
does not want to depend on locations, but it would be helpful to have a source line...The following 2 files generate errors:
https://github.com/deep-cover/deep-cover/blob/master/core_gem/spec/char_cover/exception_else.rb
https://github.com/deep-cover/deep-cover/blob/master/core_gem/spec/char_cover/literals.rb
Even if highly unusual, they are valid Ruby code.
The text was updated successfully, but these errors were encountered: