diff options
author | eileencodes <eileencodes@gmail.com> | 2022-10-19 13:50:30 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-10-31 04:58:38 +0000 |
commit | 350d0aa023223f560d812ef61396a2c5359f09a6 (patch) | |
tree | 3b6eec1c6726ca419f8c9c411bbab43f30b3169f /test/rubygems/test_gem_commands_install_command.rb | |
parent | 3391c51effcd61f9a718adf59740661d99f57b5b (diff) | |
download | ruby-350d0aa023223f560d812ef61396a2c5359f09a6.tar.gz |
[ruby/error_highlight] Support nodes in `spot`
Fixes a bug where `spot` was using the wrong local variable.
We want to use error highlight with code that has been eval'd,
specifically ERB templates. We can recover the compiled source code of
the ERB template but we need an API to pass the node into error
highlight's `spot`.
Required Ruby PR: https://github.com/ruby/ruby/pull/6593
https://github.com/ruby/error_highlight/commit/0b1b650a59
Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
Diffstat (limited to 'test/rubygems/test_gem_commands_install_command.rb')
0 files changed, 0 insertions, 0 deletions