зеркало из https://github.com/github/ruby.git
94d6d6d93f
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 |
||
---|---|---|
.. | ||
base.rb | ||
core_ext.rb | ||
error_highlight.gemspec | ||
formatter.rb | ||
version.rb |