# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #88748] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=88748 >
<masak> rakudo: given 42 { when SomeUndeclaredType { say "OH HAI" }; default { say "OH NOES" } } <p6eval> rakudo 5ac05e: OUTPUT«===SORRY!===Missing block at line 22, near "; default "» <masak> std: given 42 { when SomeUndeclaredType { say "OH HAI" }; default { say "OH NOES" } } <p6eval> std 4608239: OUTPUT«[31m===[0mSORRY![31m===[0mFunction 'SomeUndeclaredType' needs parens to avoid gobbling block at /tmp/ggW4TXS4y1 line 1:------> [32mgiven 42 { when SomeUndeclaredType[33m⏏[31m { say "OH HAI" }; default { say "OH NOE[0mMissing block (apparently gobbled by 'SomeUndeclaredType'… <masak> I like STD's error messages much better here. * masak submits rakudobug