General

Profile

whitequark (whitequark *)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

04/17/2018

01:37 AM Ruby Bug #14690: Invalid CMDARG state after command_args followed by tLBRACE_ARG
Will this be backported and if yes to which versions? whitequark (whitequark *)

10/07/2016

10:08 AM Ruby Bug #11873: Syntax error and parse problem when calling a method without parentheses
Will this change be backported? whitequark (whitequark *)
10:08 AM Ruby Bug #12669: syntax error at assinments of command
Will this change be backported? whitequark (whitequark *)

09/06/2016

08:39 PM Ruby Bug #12402: Inline rescue behavior inconsistent for method calls with arguments and assignment
Will this be backported? whitequark (whitequark *)

01/14/2016

01:41 PM Ruby Bug #11990 (Closed): Dedenting heredoc interacts poorly with string concatenation
The following code reproduces the problem:
~~~
p <<~E " y"
x
E
~~~
It prints `"x\ny"`, but the second string is not dedenting. It should print `"x\n y"`.
whitequark (whitequark *)
12:45 PM Ruby Bug #11989 (Closed): Dedenting interpolating heredoc can interpret escapes incorrectly
It is clear that the dedenting <<~HEREDOC feature was intended to only consider actual whitespace in the source file as indentation, not any escaped whitespace. E.g.:
~~~ruby
p <<~"E"
\ x
y
E
~~~
It prints `" x\n y\n"`. S...
whitequark (whitequark *)

01/09/2016

11:26 AM Ruby Bug #10653: do-end block in ternary operator is syntax error
I was implementing this in my Ruby parser and I found a much simpler solution than what you've implemented here: https://github.com/whitequark/parser/commit/113442eff1f9c6f7e7205ec0dac8cb858b3b0fc7
In short, instead of explicitly enum...
whitequark (whitequark *)

12/19/2015

11:59 PM Ruby Bug #11849 (Closed): Heredoc regression in 2.2.4
The following code gets rejected by 2.2.4:
~~~ruby
{
label:<<-DOC
Some text for a heredoc goes here
DOC
}
~~~
However, it was valid in 2.2.3.
I think this might have been introduced in r51617 (#10653).
whitequark (whitequark *)

12/08/2014

10:09 AM Ruby Bug #10578 (Closed): Allow undefining methods in refinements
Since refinements are locally scoped monkey patches, and it is possible and useful to undef a method globally, I think refinements should allow to undef methods as well as def them.
For example:
~~~ ruby
module NoPlus
refine St...
whitequark (whitequark *)

10/12/2014

01:18 AM Ruby Bug #10315: Override policy for duplicated keywords
Nobuyoshi Nakada wrote:
> Applied in changeset r47877.
> ...
There is a problem with this solution. Namely, duplicate key-value pairs are removed at parsing stage, and if they had side effects (like printing), the semantics changes.
...
whitequark (whitequark *)

Also available in: Atom