Changeset 2648
- Timestamp:
- 05/06/08 14:35:34 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tendra/src/producers/ada/asis/asis-gela-classes.adb
r2633 r2648 162 162 163 163 function Destination_Type (Tipe : Type_Info) return Type_Info is 164 use Asis.Elements; 164 165 use Asis.Definitions; 165 166 use Asis.Declarations; … … 184 185 Def := Object_Declaration_Subtype 185 186 (Elements.Enclosing_Element (Top.Object_Name)); 187 188 if Definition_Kind (Def) = Asis.A_Component_Definition then 189 Def := Component_Subtype_Indication (Def); 190 end if; 191 186 192 Def := Anonymous_Access_To_Object_Subtype_Mark (Def); 187 193 Result := Type_From_Subtype_Mark (Def, Tipe.Place);