layout.adb (Discrimify): Remove resetting of Vtype to the underlying type which…
layout.adb (Discrimify): Remove resetting of Vtype to the underlying type which turns out to be an... 2005-06-14 Gary Dismukes <dismukes@adacore.com> * layout.adb (Discrimify): Remove resetting of Vtype to the underlying type which turns out to be an incomplete and incorrect fix. (Layout_Array_Type): Use Underlying_Type when checking whether the scope of the type is declared in a record (for determination of insertion type). (SO_Ref_From_Expr): Test whether Vtype denotes a partial or full view of a private type and ensure that the primary entity is used for the type of the newly created function's V formal by taking the Etype of the view. From-SVN: r101044
Showing
Please
register
or
sign in
to comment