Opened 5 years ago

Closed 5 years ago

#278 closed defect (fixed)

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 (1)

comment:1 Changed 5 years ago by tsee

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

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.