sem_ch4.adb (Analyze_Selected_Component): Create Actual_Subtype even with expansion disabled.
* sem_ch4.adb (Analyze_Selected_Component): Create Actual_Subtype even with expansion disabled. The actual subtype is needed among other places when the selected component appears in the context of a loop bound, and denotes a packed array. (Operator_Check): Always use the first subtype in the error message, to avoid the appearance of internal base types. (Transform_Object_Operation): Copy each actual in full to the parameter associations of the constructed call, rather than using the shallow copy mechanism of New_Copy_List. This ensures that the chaining of named associations is done properly. (Complete_Object_Operation): Rewrite node, rather than replacing it, so that we can trace back to the original selected component. * sem_elab.adb (Set_Elaboration_Constraint): For initialization calls, and calls that use object notation, if the called function is not declared in a withed unit, place the elaboration constraint on the unit in the context that makes the function accessible. (Check_Elab_Subtype_Declaration): Check whether a subtype declaration imposes an elaboration constraint between two packages. From-SVN: r94820
Showing
Please
register
or
sign in
to comment