exp_ch5.adb (Controlled_Type): New routine.
2008-08-20 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch5.adb (Controlled_Type): New routine. (Expand_N_Extended_Return_Statement): When generating a move of the final list in extended return statements, check the type of the function and in the case of double expanded return statements, the type of the returned object. (Expand_Simple_Function_Return): Perform an interface conversion when the type of the returned object is an interface and the context is an extended return statement. From-SVN: r139305
Showing
Please
register
or
sign in
to comment