sem_ch8,adb (Analyze_Object_Renaming): Reject ambiguous expressions in an object...
authorEd Schonberg <schonberg@adacore.com>
Mon, 20 Apr 2009 12:29:39 +0000 (14:29 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Apr 2009 12:29:39 +0000 (14:29 +0200)
commit3c19e9be432611cd1be9f71a12984fa90919f5d3
tree8191080efbf741c0c8422d2f756457ec7452e8c8
parent5e9579b495d638798241fdc2e59de2b7b13d67e5
sem_ch8,adb (Analyze_Object_Renaming): Reject ambiguous expressions in an object renaming declaration when...

2009-04-20  Ed Schonberg  <schonberg@adacore.com>

* sem_ch8,adb (Analyze_Object_Renaming): Reject ambiguous expressions
in an object renaming declaration when the expected type is an
anonymous access type.

* sem_type.adb (Disambiguate): Use anonymousness to resolve a potential
ambiguity when one interpretation is an anonymous access type and the
other is a named access type, and the context itself is anonymous

From-SVN: r146404
gcc/ada/sem_ch8.adb
gcc/ada/sem_type.adb