General

Profile

mjago (Martyn Jago)

  • Login: mjago
  • Registered on: 06/30/2017
  • Last sign in: 10/18/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

10/24/2017

08:15 AM Ruby Bug #14046 (Closed): Ripper loses DATA
Since the following is a valid self-contained script:
~~~ ruby
p DATA.read # comment
__END__
abc
~~~
should the `__END__` suffix data be preserved with `:on___end__` ?
Alternatively should there be an `:on_ignored___end` toke...
mjago (Martyn Jago)

10/19/2017

01:39 AM Ruby Bug #14027: Ripper parses squiggly heredoc incorrectly
I'm very sorry nobu, I copy and pasted the wrong script.
This is what I meant to express:
~~~
diff -u <(ruby -v -rripper -rpp -e 'pp Ripper.lex("<<-E\n\#{1} \#{2}\nE")') \
<(ruby -v -rripper -rpp -e 'pp Ripper.lex("<<~E\n\#{1} \#...
mjago (Martyn Jago)

10/18/2017

03:15 PM Ruby Bug #14027 (Closed): Ripper parses squiggly heredoc incorrectly
Where you have two or more embedded expressions on the same line within a squiggly heredoc
seperated by whitespace, Ripper considers that whitespace as ignored space despite it not being at the
beginning of a line. Below is a diff of l...
mjago (Martyn Jago)

07/02/2017

11:45 AM Ruby Bug #13701: Ripper fails to parse "proc { |(w, *x, y), z| }"
Thank you nobu for the quick fix mjago (Martyn Jago)

06/30/2017

10:00 AM Ruby Bug #13701 (Closed): Ripper fails to parse "proc { |(w, *x, y), z| }"
The Ruby formatter rufo has exposed a ripper parsing error when parsing the following ruby code:
~~~ ruby
proc { |(w, *x, y), z| }
~~~
The s-expression below shows that the *y identifier* is swallowed.
The following ruby spec ...
mjago (Martyn Jago)

Also available in: Atom