sem_res.adb (Resolve_Actuals): If the call is to an overridden operation...
authorEd Schonberg <schonberg@adacore.com>
Fri, 22 May 2015 13:17:54 +0000 (13:17 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 22 May 2015 13:17:54 +0000 (15:17 +0200)
commite6b3f5ba80252a12abf02e5932300b11eb30d226
tree50f3f536a4a1b6e559054f9d71807e7705264a4e
parentd992a425b7b2ebb6ed34d545d7c4a4f68b6a0b14
sem_res.adb (Resolve_Actuals): If the call is to an overridden operation...

2015-05-22  Ed Schonberg  <schonberg@adacore.com>

* sem_res.adb (Resolve_Actuals): If the call is to an overridden
operation, replace the names of the actuals in named associations
with the names of the actuals of the subprogram that is eventually
executed. The names of the formals and the defaults can differ
between the two operations when they are operations of a formal
derived type.

From-SVN: r223569
gcc/ada/ChangeLog
gcc/ada/sem_res.adb