ruby/lib/error_highlight
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
..
base.rb [ruby/error_highlight] Identify which node in `Foo::Bar::Baz` causes a NameError 2023-01-13 08:25:09 +00:00
core_ext.rb [ruby/error_highlight] Enable ErrorHighlight for TypeError/ArgumentError only after Ruby 3.2 2022-11-14 06:06:12 +00:00
error_highlight.gemspec [ruby/error_highlight] Allow the development version (= master branch) of Ruby 3.1 2021-06-30 17:33:57 +09:00
formatter.rb [ruby/error_highlight] Make the formatter mechanism support Ractor 2021-10-27 11:29:20 +09:00
version.rb [ruby/error_highlight] Bump version 2022-11-14 06:37:33 +00:00