Ticket #278 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Variable magic (lexical replace, declaration finding, etc) doesn't work well for arrays, hashes, array and hash accesses, and slices thereof

Reported by: tsee Owned by:
Priority: major Milestone:
Component: editor Version: 0.29
Keywords: Cc:

Description

Summary says it all:
Variable magic (lexical replace, declaration finding, etc) doesn't work well for arrays, hashes, array and hash accesses, and slices thereof

This is partly a PPI thing, so it should (maybe) be fixed upstream. $foo[0] becomes a PPI variable token (the $foo part, really!), but the canonical name is considered to be $foo, not @foo!

Change History

comment:1 Changed 5 years ago by tsee

  • Status changed from new to closed
  • Resolution set to fixed

I'm quite satisfied to say that this should be working fine now in trunk!

Hashes are somewhat undertested, but they're mostly a slight variation on the code necessary for handling arrays.

Note: See TracTickets for help on using tickets.