[Ada] Spurious error caused by order of interfaces in full view
commite2b07ba054daa896795e0932626f259c87417ec0
authorJavier Miranda <miranda@adacore.com>
Mon, 20 Dec 2021 11:51:44 +0000 (20 11:51 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 Jan 2022 16:24:12 +0000 (7 16:24 +0000)
tree84b1429e77f245558715b3be11083cabd781f162
parent20f6d5e4a8862f733e66f57ac9f2f2792903ac61
[Ada] Spurious error caused by order of interfaces in full view

gcc/ada/

* sem_ch3.adb (Reorder_Interfaces): When the conflicting
interface is identified we just replace the interface in the
list of interfaces of the tagged type (instead of adding a
duplicate to the list of interfaces).
gcc/ada/sem_ch3.adb