Skip to content
  • Mark Olesen's avatar
    fixup #remove functionEntry and revert 09b3c166 · 7889df78
    Mark Olesen authored and Andrew Heather's avatar Andrew Heather committed
    - forgot to use readList in removeEntry, which caused the test failure.
    
    - remaining problem:
    
    it doesn't work as might be expected
    This is the problem:
    
    dict
    {
       foo xxx;
       bar yyy;
    }
    
    dict
    {
       baz zzz;
       #remove foo
    }
    
    This only removes 'foo' from the current scope (the second dict), since
    it occurs before the dictionary merge does.
    
    To remove from the final, merged dictionary, we'd need a new
    deleteEntry type that would do the right thing on the merge before
    self-destructing (ie, removing itself too).
    7889df78