Project

General

Profile

Backport #8927

backport r42980 (fix source_location of lambda)

Added by Tomoyuki Chikanaga about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:47722]

Description

lambda/->() で作った Proc の source_location の行番号をブロック先頭の位置に修正。
1.9.3 との互換性のため 2.0.0 も修正したほうが良いかと思います。

Associated revisions

Revision 43063
Added by Tomoyuki Chikanaga about 3 years ago

merge revision(s) 42980,42981: [Backport #8927]

* parse.y (lambda): adjust position to the beginning of the block.

History

#1 Updated by Tomoyuki Chikanaga about 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r43063.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 42980,42981: [Backport #8927]

* parse.y (lambda): adjust position to the beginning of the block.

Also available in: Atom PDF