diff options
author | Javier Miranda <miranda@adacore.com> | 2024-04-26 18:22:19 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-13 15:30:31 +0200 |
commit | 5c45881bf57fa1ae593b5cab8f4db67506470ff9 (patch) | |
tree | dd46f774cd34c3b04192b60fd420557151c25a25 /gcc/ada/inline.adb | |
parent | 63bf005b2f5047841730b1ba4ca0799c471f75d1 (diff) | |
download | gcc-5c45881bf57fa1ae593b5cab8f4db67506470ff9.zip gcc-5c45881bf57fa1ae593b5cab8f4db67506470ff9.tar.gz gcc-5c45881bf57fa1ae593b5cab8f4db67506470ff9.tar.bz2 |
ada: Interfaces order disables class-wide prefix notation calls
When the first formal parameter of a subprogram is a class-wide
interface type (or an access to a class-wide interface type),
changing the order of the interface types implemented by a
type declaration T enables or disables the ability to use the
prefix notation to call it with objects of type T. When the
call is disabled the compiler rejects it reporting an error.
gcc/ada/
* sem_ch4.adb (Traverse_Interfaces): Add missing support
for climbing to parents of interface types.
Diffstat (limited to 'gcc/ada/inline.adb')
0 files changed, 0 insertions, 0 deletions