Message ID | 20110831093404.GA19957@adacore.com |
---|---|
State | New |
Headers | show |
Index: exp_ch4.adb =================================================================== --- exp_ch4.adb (revision 178368) +++ exp_ch4.adb (working copy) @@ -7920,6 +7920,7 @@ -- Insert explicit dereference if required if Is_Access_Type (Ptyp) then + Set_Etype (P, Ptyp); -- in case it's private Insert_Explicit_Dereference (P); Analyze_And_Resolve (P, Designated_Type (Ptyp));