Backport #8927

backport r42980 (fix source_location of lambda)

Added by Tomoyuki Chikanaga 7 months ago. Updated 7 months ago.

[ruby-dev:47722]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

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

Associated revisions

Revision 43063
Added by Tomoyuki Chikanaga 7 months 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 7 months 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