On Sat Jul 10 23:14:57 2010, cognominal wrote: > $ cat A.pm > role A[::T] { } > $ perl6 A.pm > $ perl6 --target=parse A.pm > ===SORRY!=== > Method 'symbol' not found for invocant of class 'Undef' > $ > > A program with the sole ::T has no problem >
Behavior has changed: $ cat A.pm role A[::T] { } $ perl6 A.pm Could not instantiate role 'A': Not enough positional parameters passed; got 1 but expected 2 current instr.: 'specialize' pc 21192 (src/gen/perl6-metamodel.pir:9881) (src/gen/Metamodel.nqp:1932) called from Sub '' pc 26865 (src/gen/perl6-metamodel.pir:12123) (src/gen/Metamodel.nqp:2351) called from Sub '' pc 26668 (src/gen/perl6-metamodel.pir:12057) (src/gen/Metamodel.nqp:2345) called from Sub 'compose' pc 26272 (src/gen/perl6-metamodel.pir:11937) (src/gen/Metamodel.nqp:2344) called from Sub 'make_pun' pc 13972 (src/gen/perl6-metamodel.pir:6710) (src/gen/Metamodel.nqp:1326) called from Sub 'find_method' pc 14165 (src/gen/perl6-metamodel.pir:6794) (src/gen/Metamodel.nqp:1345) called from Sub 'MAIN' pc 368 (src/gen/perl6.pir:143) (src/main.nqp src/gen/main- version.nqp:41) called from Sub '' pc 77 (src/gen/perl6.pir:56) (src/main.nqp src/gen/main-version.nqp:1) called from Sub '' pc 1127 (src/gen/perl6.pir:404) (src/main.nqp src/gen/main-version.nqp:52) $ perl6 --target=parse A.pm ===SORRY!=== Could not locate compile-time value for symbol StaticLexPad Is the behavior on the direction invocation not right? -- Will "Coke" Coleda