[Ada] Fix resolution of class-wide operations that are generic actuals
commit3bb9bd7dcc46a48b45419072e552336d3e6569fd
authorEd Schonberg <schonberg@adacore.com>
Tue, 31 Jul 2018 09:55:21 +0000 (31 09:55 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 31 Jul 2018 09:55:21 +0000 (31 09:55 +0000)
tree30d1271beb36d52d579448ddd77c7152a3129b6e
parent617709748bf6e8c9590ce8a19a20c57de53a08e2
[Ada] Fix resolution of class-wide operations that are generic actuals

2018-07-31  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_ch4.adb (Traverse_Homonyms): Consider generic actuals that
may rename a matching class-wide operation only if the renaming
declaration for that actual is in an enclosing scope (i.e.
within the corrresponding instance).

From-SVN: r263090
gcc/ada/ChangeLog
gcc/ada/sem_ch4.adb