]> gcc.gnu.org Git - gcc.git/commit
sem_type.adb (Add_One_Interp): If a candidate operation is an inherited interface...
authorEd Schonberg <schonberg@adacore.com>
Mon, 5 Sep 2005 08:03:33 +0000 (10:03 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 5 Sep 2005 08:03:33 +0000 (10:03 +0200)
commit63e746db7a33e60716aa60fea4497d90402251fd
treeee8640d90b0bcd185a714d5122830e8d823d1fd9
parent1420b484a811ceb52d51dea8ac553872f61f77d2
sem_type.adb (Add_One_Interp): If a candidate operation is an inherited interface operation that has an...

2005-09-01  Ed Schonberg  <schonberg@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* sem_type.adb (Add_One_Interp): If a candidate operation is an
inherited interface operation that has an implementation, use the
implementation to avoid spurious ambiguities.
(Interface_Present_In_Ancestor): In case of concurrent types we can't
use the Corresponding_Record_Typ attribute to look for the interface
because it is set by the expander (and hence it is not always
available). For this reason we traverse the list of interfaces
(available in the parent of the concurrent type).
(Interface_Present_In_Ancestor): Handle entities from the limited view

From-SVN: r103887
gcc/ada/sem_type.adb
This page took 0.059839 seconds and 5 git commands to generate.