diff options
author | Ed Schonberg <schonberg@adacore.com> | 2015-05-21 10:47:34 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-05-21 12:47:34 +0200 |
commit | 4f2cae4a92d1135ededcecdffd84e1c4c394b083 (patch) | |
tree | d355e609a4be7f52f44ac2ecd8388cd2acf59719 /gcc/ada/sem_ch5.adb | |
parent | c8faa0f904f744afe9f2db4742216ea4c7e92e46 (diff) | |
download | gcc-4f2cae4a92d1135ededcecdffd84e1c4c394b083.zip gcc-4f2cae4a92d1135ededcecdffd84e1c4c394b083.tar.gz gcc-4f2cae4a92d1135ededcecdffd84e1c4c394b083.tar.bz2 |
sem_ch13.adb (Check_Iterator_Functions): Emit error on Iterator aspect as well when indexing function is illegal.
2015-05-21 Ed Schonberg <schonberg@adacore.com>
* sem_ch13.adb (Check_Iterator_Functions): Emit error on Iterator
aspect as well when indexing function is illegal.
(Valid_Default_Iterator): Handle properly somme illegal cases
to prevent compilation abandoned messages.
(Check_Primitive_Function): Verify that type and indexing function
are in the same scope.
* freeze.adb (Freeze_Record): Extend patch on the presence of
indexing aspects to aspect Default_Iterator.
From-SVN: r223475
Diffstat (limited to 'gcc/ada/sem_ch5.adb')
0 files changed, 0 insertions, 0 deletions