sem_ch13.adb (Check_Indexing_Functions): The return type of an indexing function...
authorEd Schonberg <schonberg@adacore.com>
Tue, 20 Dec 2011 13:53:42 +0000 (13:53 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 Dec 2011 13:53:42 +0000 (14:53 +0100)
commit76d49f494a31b307249417d0f78ed93303bbd96c
tree8d732d54ed8e03a3134a8fa928ce114cee530c59
parenta68d415b1d94bf3cbafd889642bedc71c0e6ac5a
sem_ch13.adb (Check_Indexing_Functions): The return type of an indexing function can be the default element type...

2011-12-20  Ed Schonberg  <schonberg@adacore.com>

* sem_ch13.adb (Check_Indexing_Functions): The return type of an
indexing function can be the default element type, and does not
need to be a reference type.
* sem_ch4.adb (Try_Container_Indexing): Ditto.

From-SVN: r182536
gcc/ada/ChangeLog
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch4.adb