# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #80864]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=80864 >


Bug stems from tweet <http://twitter.com/VienosNotes/status/15077070396727296>

<masak> rakudo: try{CATCH {say "caught";}}
<p6eval> rakudo a95c1d: OUTPUT«error:imcc:syntax error, unexpected ')'
(')')␤    in file 'EVAL_10' line 84422894␤===SORRY!===␤syntax error
... somewhere␤»
* masak submits rakuodbug
<masak> rakudo: try{}
<p6eval> rakudo a95c1d: OUTPUT«Could not find sub &try␤  in main
program body at line 22:/tmp/OOKCmOQamA␤»
<masak> rakudo: try{CATCH{}}
<p6eval> rakudo a95c1d: OUTPUT«error:imcc:syntax error, unexpected ')'
(')')␤    in file 'EVAL_10' line 44790886␤===SORRY!===␤syntax error
... somewhere␤»
<masak> std: try{CATCH {}}
<p6eval> std 01ab3ab: OUTPUT«===SORRY!===␤Undeclared
routine:␤ 'try' used at line 1␤Check failed␤FAILED 00:01 118m␤»
<masak> right, so it's not syntactically correct in the first place.
<masak> but Rakudo could give a more awesome error indicating that.

Reply via email to