November 09, 2016

          Issue ID: 16674
           Summary: Clarify lifetime of pointer to AA entry
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1

SomeType[SomeOtherType] aa;

SomeType* aap = aKey in aa;

The lifetime of aap needs to be clarified. In particular with respect to:
* Removal of aKey from the aa
* Removal of another element from the aa
* Addition of another element to the aa
* Modification of an existing element in the aa with "aa[key] = something"
* Modification of this element in the aa with "aa[aKey] = something".