[perl #126692] [RFC] wrong line number in error message using Promise

2017-09-12 Thread jn...@jnthn.net via RT
On Fri, 20 Nov 2015 08:19:56 -0800, mt1...@gmail.com wrote: > Hi, > > When using 'my $p = Promise.start($code)' and die in that code for some > reason, I will get the die error message but the line number is of the > 'await $p' line. It would be more helpful to have the line number of the > ori

[perl #126692] [RFC] wrong line number in error message using Promise

2017-09-12 Thread jn...@jnthn.net via RT
On Fri, 20 Nov 2015 08:19:56 -0800, mt1...@gmail.com wrote: > Hi, > > When using 'my $p = Promise.start($code)' and die in that code for some > reason, I will get the die error message but the line number is of the > 'await $p' line. It would be more helpful to have the line number of the > ori