General

Profile

danh337 (Dan H)

  • Login: danh337
  • Registered on: 03/30/2021
  • Last connection: 10/06/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

10/09/2021

02:40 AM Ruby master Feature #18242: Parser makes multiple assignment sad in confusing way
Attached is an improved driver. Again, every test case works with nobu's branch. danh337 (Dan H)
02:36 AM Ruby master Feature #18242: Parser makes multiple assignment sad in confusing way
@nobu I built your PR branch and confirmed that this new parsing works great with the `driver.rb` attached.
Will t...
danh337 (Dan H)

10/08/2021

07:40 PM Ruby master Feature #18242: Parser makes multiple assignment sad in confusing way
nobu (Nobuyoshi Nakada) wrote in #note-3:
> That patch seems not including `1 < 2 and a = 1, 2`.
>
> https://gith...
danh337 (Dan H)

10/06/2021

08:56 PM Ruby master Feature #18242: Parser makes multiple assignment sad in confusing way
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> [...] Attached is a patch that implements the necessary parser rules...
danh337 (Dan H)
04:39 AM Ruby master Feature #18242 (Open): Parser makes multiple assignment sad in confusing way
Example:
``` ruby
a, b = 2, 1 if 1 < 2 # Works
a, b = [2, 1] if 1 < 2 # Works
(a, b) = 2, 1 if 1 ...
danh337 (Dan H)

03/30/2021

09:31 PM Ruby master Feature #16295: Chainable aliases for String#-@ and String#+@
I believe this shows the semantics. It's the inverse of `.freeze`:
`class String; def thaw; frozen? ? self.+@ : se...
danh337 (Dan H)
09:12 PM Ruby master Feature #16295: Chainable aliases for String#-@ and String#+@
The `-@` and `+@` calls do work fine for chaining. But `.-@` has a nice equivalent, `.freeze`. Is it possible to give... danh337 (Dan H)

Also available in: Atom