Project

General

Profile

Actions

Backport #8927

closed

backport r42980 (fix source_location of lambda)

Added by nagachika (Tomoyuki Chikanaga) over 8 years ago. Updated over 8 years ago.

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

Description

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

Actions #1

Updated by nagachika (Tomoyuki Chikanaga) over 8 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.
Actions

Also available in: Atom PDF