Open p6rt opened 14 years ago
$ perl6
my $*a = 1; 1 say $*a; ===SORRY!=== Contextual $*a not found
Not sure why this is happening, I only see it happening in the REPL.
-- John Harrison
On Sun Sep 26 13:45:30 2010, ash_gti wrote:
$ perl6
my $*a = 1; 1 say $*a; ===SORRY!=== Contextual $*a not found
Not sure why this is happening, I only see it happening in the REPL.
-- John Harrison
No longer dies:
my $*a = 1; 1 say $*a Dynamic variable $*a not found
-- Will "Coke" Coleda
The RT System itself - Status changed from 'new' to 'open'
This seems to happen only with the REPL:
> my $*a;
(Any)
> $*a=10;
Dynamic variable $*a not found
in method \
in any at gen/parrot/Metamodel.nqp:2691
in any find_method_fallback at gen/parrot/Metamodel.nqp:2679
> my $*a; $*a=10; say $*a;
10
>
Note that the declaration is still there if I do it all on one line; it just disappears between lines.
Possibly this is related to the issues in ticket #122914 (bindings and term definitions are "forgotten" in the REPL for subsequent lines).
Possibly this is related to the issues in ticket #122914 (bindings and term definitions are "forgotten" in the REPL for subsequent lines).
Changed title to reflect that it does not crash anymore, but still does not remember dynamic variables from one command to the next:
➜ my $*a; $*a = 10;
5
➜ $*a = 10;
Dynamic variable $*a not found
in block \
Migrated from rt.perl.org#78068 (status was 'open')
Searchable as RT78068$