# New Ticket Created by  Martin Barth 
# Please include the string:  [perl #131970]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131970 >


<ufobat> m: my $c = "Some::Thing"; ::($c).new()
<camelia> rakudo-moar f097e5: OUTPUT: «Failed␤␤Actually thrown at:␤  in 
block <unit> at <tmp> line 1␤␤»
<ufobat> this error is not really helpful :(
<ufobat> shoudn't this failure be converted into an exception? i'd 
expect something like this:
<ufobat> m: my $c = "Some::Thing"; try { ::($c).new(); CATCH {default {  
$_.throw } } }
<camelia> rakudo-moar f097e5: OUTPUT: «No such symbol 'Some::Thing'␤  in 
block  at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
<Skarsnik> you can fill a bug repport for that I think

Reply via email to