Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

sigilless vars and EVALs do not mix well #3781

Closed p6rt closed 9 years ago

p6rt commented 9 years ago

Migrated from rt.perl.org#124304 (status was 'resolved')

Searchable as RT124304$

p6rt commented 9 years ago

From @FROGGS

$ perl6-m -e 'my \a = any 1; EVAL "say a"' ===SORRY!=== Object of type Junction in QAST​::WVal, but not in SC

$ perl6-j -e 'my \a = any 1; EVAL "say a"' ===SORRY!=== No such method 'jast' for invocant of type 'NQPMu'

p6rt commented 9 years ago

From @jnthn

On Tue Apr 14 13​:09​:05 2015, FROGGS.de wrote​:

$ perl6-m -e 'my \a = any 1; EVAL "say a"' ===SORRY!=== Object of type Junction in QAST​::WVal, but not in SC

$ perl6-j -e 'my \a = any 1; EVAL "say a"' ===SORRY!=== No such method 'jast' for invocant of type 'NQPMu'

Fixed; test added in S29-context/eval.t.

p6rt commented 9 years ago

The RT System itself - Status changed from 'new' to 'open'

p6rt commented 9 years ago

@jnthn - Status changed from 'open' to 'resolved'