Make `it = it` assign `nil` to match parse.y behavior [Bug #21139] by S-H-GAMELINKS · Pull Request #3604 · ruby/prism
Currently Prism returns 42 for code like this: 42.tap { it = it; p it } # => 42 But parse.y returns nil: 42.tap { it = it; p it } # => nil In parse.y, it on the right-hand side is parsed as a...