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


17:02 < psch> m: say "[abc]" ~~ / ^ '[' ~ ']' $<sub>=<-[\]]> $ / 
17:02 <+camelia> rakudo-moar 3bbf7b: OUTPUT«Unable to parse expression in ; 
couldn't find final ']' ␤  in any FAILGOAL at 
                 gen/moar/stage2/QRegex.nqp:1211␤  in method ACCEPTS at 
src/gen/m-CORE.setting:14227␤  in block <unit> at 
                 /tmp/rtwf3elMfx:1␤␤»

Telling the user about generated NQP-files seems LTA in general, and this case 
specifically lacks features it should contain according S05, which states that 
it should mention the method name or the string passed with the dba adverb. The 
method name currently is not printed, and supplying the dba adverb silences the 
error completely, as follows:

17:28 < psch> m: say '[abc]' ~~ anon regex { :dba("silencer") ^ '[' ~ ']' 
$<sub> = <-[ \] ]> $ } # heh
17:28 <+camelia> rakudo-moar 3bbf7b: OUTPUT«Nil␤»

Reply via email to