You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file contains non-standard shebang (e.g. in a puma config), CRuby raises "no Ruby script found in input" SyntaxError but #eval seems ignores it all. But Prism raises the Syntax error in both cases.
When a file contains non-standard shebang (e.g. in a puma config), CRuby raises "no Ruby script found in input" SyntaxError but
#eval
seems ignores it all. But Prism raises the Syntax error in both cases.test.rb:
The standard Ruby shebang
#!/usr/bin/env ruby
is parsed by Prism without errors.The issue was reported originally in oracle/truffleruby#3623
The text was updated successfully, but these errors were encountered: