-
Notifications
You must be signed in to change notification settings - Fork 210
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
RubyVM usage #348
Comments
Good point! I decided to use |
You mean CRuby, right? I think MRuby doesn't have
Right, I think that would make sense. I think moving and stabilizing |
Oh sorry, I mixed CRuby and MRI... It's great to me too if I think showing a better error message and exit gracefully is the first step we can do now. |
I don't think printing error messages is the best solution for this. Contributions for improvement are welcome. |
Could we leave the issue opened? |
I posted a comment related to this on the |
Okay. Reopening this issue. (I don't think I have bandwidth to do this for a while, but someone else would have!) |
FYI, a report about this on the truffleruby tracker: oracle/truffleruby#2691 |
Hello, it seems that currently
rbs
usesRubyVM::AbstractSyntaxTree
in a couple places:https://github.com/ruby/rbs/search?q=RubyVM&unscoped_q=RubyVM
However, RubyVM by design is MRI-only and is expected to not exist as a constant on alternative Ruby implementations (documentation).
Do you plan to address this somehow?
If
AbstractSyntaxTree
is needed byrbs
then I think it's time to move it somewhere outside ofRubyVM
.For instance, when running on TruffleRuby:
cc @bjfish
Relates to oracle/truffleruby#1671
The text was updated successfully, but these errors were encountered: