Ticket #173 (closed bug: invalid)
lexicals not found in PIRC
| Reported by: | kjs | Owned by: | kjs |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Version: | |
| Severity: | medium | Keywords: | lexicals |
| Cc: | parrot-dev@… | Language: | |
| Patch status: | Platform: |
Description (last modified by pmichaud) (diff)
lexicals can't be found in nested .subs. the following works in parrot, but the generated bytecode doesn't seem to work:
.sub main
.lex "x", $P0
$P0 = new "Integer"
$P0 = 42
foo()
.end
.sub foo :outer("main")
$P0 = find_lex "x"
print $P0
.end
So, apparently, lexicals are not stored correctly. This needs fixing.
Change History
Note: See
TracTickets for help on using
tickets.
