error_highlight icon indicating copy to clipboard operation
error_highlight copied to clipboard

Does not work in IRB

Open mame opened this issue 4 years ago • 0 comments

Due to the design limitation of the ruby internal API (RubyVM::AST.of), error_highlight cannot get the code snippet evaluated by Kernel#eval, etc. This means that error_highlight cannot show highlight lines for IRB.

This is a very tough issue. We need to design how to keep the eval'ed source code.

Slightly related to: https://bugs.ruby-lang.org/issues/16983

mame avatar Jul 12 '21 07:07 mame