sem_res.adb (Resolve_Call): In the part of the code where it is deciding whether…
sem_res.adb (Resolve_Call): In the part of the code where it is deciding whether to turn the call into an... 2017-01-23 Bob Duff <duff@adacore.com> * sem_res.adb (Resolve_Call): In the part of the code where it is deciding whether to turn the call into an indexed component, avoid doing so if the call is to an instance of Unchecked_Conversion. Otherwise, the compiler turns it into an indexed component, and resolution of that turns it back into a function call, and so on, resulting in infinite recursion. * sem_util.adb (Needs_One_Actual): If the first formal has a default, then return False. From-SVN: r244774
Showing
Please
register
or
sign in
to comment