[#89806] [Ruby trunk Bug#15306] Generate prelude.c using miniruby — v.ondruch@...
Issue #15306 has been reported by vo.x (Vit Ondruch).
3 messages
2018/11/15
[ruby-core:89671] [Ruby trunk Feature#14836] Method to return first/last lineno/column of Proc
From:
kakyoin.hierophant@...
Date:
2018-11-01 07:59:54 UTC
List:
ruby-core #89671
Issue #14836 has been updated by joker1007 (Tomohiro Hashidate).
Great work!!
What I want is this!
If ruby-trunk merges this patch, I will try to use.
----------------------------------------
Feature #14836: Method to return first/last lineno/column of Proc
https://bugs.ruby-lang.org/issues/14836#change-74713
* Author: tagomoris (Satoshi TAGOMORI)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
As written in https://bugs.ruby-lang.org/issues/6012, we want to know column no of Proc location.
In addition to it, I want to know the last_lineno and last_column.
If we don't have these values, we cannot know whether the "a" in code below is defined in block, or not.
```ruby
b1 = ->(){ foo() }; a = 1; b2 = ->(){ bar() }
```
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>