[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70347] [Ruby trunk - Bug #11380] Parser regression in 2.3?

From: felix.buenemann@...
Date: 2015-08-12 11:08:49 UTC
List: ruby-core #70347
Issue #11380 has been updated by Felix B=C3=BCnemann.


Thank you!

Please don't forget to also backport to ruby_2_1, because #11107 which caus=
ed this regression was backported to ruby_2_1 aswell.

----------------------------------------
Bug #11380: Parser regression in 2.3?
https://bugs.ruby-lang.org/issues/11380#change-53763

* Author: Akira Matsuda
* Status: Closed
* Priority: Normal
* Assignee:=20
* ruby -v: ruby 2.3.0dev (2015-07-21 trunk 51319) [x86_64-darwin14]
* Backport: 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: DONE
----------------------------------------
This code works with 2.2 but causes SyntaxError with 2.3.

~~~
def foo(pr, options, &blk)
  p pr.call
end

foo -> { :hello }, a: 1 do end
~~~


#=3D> t.rb:5: syntax error, unexpected keyword_do, expecting end-of-input



--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next