Message ID | 20160420104055.GA64242@adacore.com |
---|---|
State | New |
Headers | show |
Index: sem_ch12.adb =================================================================== --- sem_ch12.adb (revision 235256) +++ sem_ch12.adb (working copy) @@ -14052,7 +14052,7 @@ begin Result := Make_Identifier (Loc, Chars (Typ)); - if Present (Scop) and then Scop /= Standard_Standard then + if Present (Scop) and then not Is_Generic_Unit (Scop) then Result := Make_Selected_Component (Loc, Prefix => Make_Identifier (Loc, Chars (Scop)),