pointy blocks not blocky enough (errors with "missing block") #52

Closed
coke opened this Issue Sep 7, 2012 · 0 comments

2 participants

@coke

$ cat err.pm 
my $foo := -> { say(3) };
$foo();
$ nqp err.pm 
Missing block at line 2, near "-> { say(3"
current instr.: 'panic' pc 19998 (src/stage2/gen/NQPHLL.pir:7314) (src/stage2/gen/NQPHLL.pm:325)
called from Sub 'pblock' pc 25679 (src/stage2/gen/NQP.pir:9058) (src/stage2/gen/NQP.pm:741)
called from Sub 'term:sym<lambda>' pc 45428 (src/stage2/gen/NQP.pir:15995) (src/stage2/gen/NQP.pm:874)
called from Sub '!protoregex' pc 10078 (src/stage2/QRegex.pir:3917) (src/stage2/QRegex.nqp:605)
called from Sub 'term' pc 1464 (src/stage2/gen/NQPHLL.pir:563) (src/stage2/gen/NQPHLL.pm:17)
called from Sub 'termish' pc 1070 (src/stage2/gen/NQPHLL.pir:431) (src/stage2/gen/NQPHLL.pm:11)
called from Sub 'EXPR' pc 21375 (src/stage2/gen/NQPHLL.pir:7929) (src/stage2/gen/NQPHLL.pm:541)
called from Sub 'statement' pc 23722 (src/stage2/gen/NQP.pir:8401) (src/stage2/gen/NQP.pm:717)
called from Sub 'statementlist' pc 23175 (src/stage2/gen/NQP.pir:8223) (src/stage2/gen/NQP.pm:712)
called from Sub 'comp_unit' pc 22540 (src/stage2/gen/NQP.pir:8003) (src/stage2/gen/NQP.pm:698)
called from Sub 'TOP' pc 12106 (src/stage2/gen/NQP.pir:4424) (src/stage2/gen/NQP.pm:622)
called from Sub 'parse' pc 16590 (src/stage2/QRegex.pir:6359) (src/stage2/QRegex.nqp:939)
called from Sub 'parse' pc 32847 (src/stage2/gen/NQPHLL.pir:12533) (src/stage2/gen/NQPHLL.pm:1478)
called from Sub '' pc 32381 (src/stage2/gen/NQPHLL.pir:12356) (src/stage2/gen/NQPHLL.pm:1442)
called from Sub 'compile' pc 32290 (src/stage2/gen/NQPHLL.pir:12316) (src/stage2/gen/NQPHLL.pm:1440)
called from Sub 'eval' pc 29227 (src/stage2/gen/NQPHLL.pir:11071) (src/stage2/gen/NQPHLL.pm:1211)
called from Sub 'evalfiles' pc 31756 (src/stage2/gen/NQPHLL.pir:12102) (src/stage2/gen/NQPHLL.pm:1424)
called from Sub 'command_eval' pc 30711 (src/stage2/gen/NQPHLL.pir:11694) (src/stage2/gen/NQPHLL.pm:1359)
called from Sub 'command_line' pc 30013 (src/stage2/gen/NQPHLL.pir:11433) (src/stage2/gen/NQPHLL.pm:1309)
called from Sub 'MAIN' pc 760 (src/stage2/gen/NQP.pir:250) (src/stage2/gen/NQP.pm:3085)
called from Sub '' pc 443 (src/stage2/gen/NQP.pir:155) (src/stage2/gen/NQP.pm:1475)
@jnthn jnthn closed this in c0203bb Sep 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment