Yusuke Endoh 94d6d6d93f [ruby/error_highlight] Identify which node in Foo::Bar::Baz causes a NameError
In Ruby 3.2 or later, a nested constant access like `Foo::Bar::Baz` is
compiled to one instruction by the optimization https://github.com/ruby/ruby/pull/6187

We try to spot which sub-node caues a NameError in question based on the
constant name. We will give up if the same constant name is accessed in
a nested access (`Foo::Foo`).

Fixes https://github.com/ruby/error_highlight/pull/31

https://github.com/ruby/error_highlight/commit/0a4db7da0a
2023-01-13 08:25:09 +00:00
..
2023-01-10 15:53:07 +09:00
2022-12-26 15:09:21 +09:00
2022-12-05 05:59:33 +00:00
2022-11-29 04:58:29 +00:00
2022-12-14 05:49:14 +00:00
2022-09-06 10:41:20 +09:00
2022-12-09 16:36:22 +09:00
2023-01-10 15:53:07 +09:00
2022-11-28 04:40:26 +00:00
2022-12-09 16:36:22 +09:00
2022-12-05 06:32:03 +00:00
2023-01-11 22:29:10 +00:00
2023-01-12 05:41:59 +00:00
2022-12-05 07:35:19 +00:00
2022-12-05 07:38:23 +00:00
2023-01-10 15:53:07 +09:00
2022-08-19 10:02:24 +09:00
2022-12-14 16:07:44 +09:00
2022-12-05 08:18:33 +00:00