Kevin Newton
Kevin Newton
Found this while importing your tests into YARP. On this line: https://github.com/mbj/unparser/blob/8260882beae39cd3d88a29625d07dd31bbc66ece/test/corpus/literal/pattern.rb#L20 It's actually a syntax error. ```ruby case foo in {"#{"a"}": 1} end ``` Running `ruby -c` gives: ```...
```ruby # vim: set fileencoding=euc-jp ``` Should set the file encoding to `euc-jp`.
## Changes to `ruby/prism` - [ ] `TestM17N#test_regexp_usascii` - `/#{"\x80"}/` should raise syntax error - [ ] `TestRubyLiteral#test_dregexp` - `/#{"\x80"}/` should raise syntax error - [ ] `TestMixedUnicodeEscape#test_basic` - should...
This splits RationalNode into RationalIntegerNode and RationalFloatNode. The shapes of the two nodes are different: RationalIntegerNode wraps a child IntegerNode. RationalFloatNode wraps two integer fields, a numerator and a denominator....
```ruby assert_equal "\x13", "\c\x33" assert_equal "\x13", "\C-\x33" assert_equal "\xB3", "\M-\x33" ``` Right now all 3 of these are failing. It looks like `\x` sequences aren't being escaped with the flags....
This is a meta-issue about the steps that need to be taken in order to become the default CRuby parser. This is not to say that it will be the...
At the moment, our `config.yml` file has documentation for every node type in the syntax tree. However, there is little to no documentation for the individual fields on the nodes....
https://github.com/ruby/ruby/pull/9500#issuecomment-1958576162