diff options
author | Ed Schonberg <schonberg@adacore.com> | 2017-04-25 12:55:11 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-04-25 14:55:11 +0200 |
commit | 241f328c235be95a49c25681af0ccd34985560e1 (patch) | |
tree | 8860275e8bae54d1d275bb2ba9be887583b2cf42 /gcc/ada/sem_ch12.adb | |
parent | cccb761bc29d4c32a24c79d68ef9ac76308d54fc (diff) | |
download | gcc-241f328c235be95a49c25681af0ccd34985560e1.zip gcc-241f328c235be95a49c25681af0ccd34985560e1.tar.gz gcc-241f328c235be95a49c25681af0ccd34985560e1.tar.bz2 |
sem_ch6.adb (Analyze_Expression_Function): If expression function is completion and return type is an access type do not...
2017-04-25 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Analyze_Expression_Function): If expression function
is completion and return type is an access type do not freeze
designated type: this will be done in the process of freezing
the expression if needed.
(Freeze_Expr_Types): Check whether type is complete before
creating freeze node, to provide a better error message if
reference is premature.
* sem_ch13.adb (Check_Indexing_Functions): Ignore inherited
functions created by type derivations.
From-SVN: r247217
Diffstat (limited to 'gcc/ada/sem_ch12.adb')
0 files changed, 0 insertions, 0 deletions