Is it possible to signal to the error handler that it is talking about a value somewhere instead of the program source, at least? Even if you can't reasonably say what value where?
On Sat, Oct 7, 2017 at 5:18 PM, Aleks-Daniel Jakimenko-Aleksejev via RT < perl6-bugs-follo...@perl.org> wrote: > “Couldn't the confusing wording be fixed without additional information?” > > Yes. But how? We can't *remove* this hint because sometimes it is super > useful. > > On 2017-10-06 11:13:34, sml...@gmail.com wrote: > > On Wed, 04 Oct 2017 22:10:22 -0700, alex.jakime...@gmail.com wrote: > > > To produce an error message that is more precise we'll need more > > > information > > > than just a line number, but we don't have that during the run time. > > > > Couldn't the confusing wording be fixed without additional > > information? > > > > As I understand it, the problem with the current message is that the > > > > in '⏏~' (indicated by ⏏) > > > > part leads people to think it's referring to a position in the source > > code, when it is actually referring to a position in a string. > > Especially because the "in block ... in file ... at line ..." line > > comes directly after it. > > -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net