diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-06-12 09:52:42 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-06-27 14:05:50 +0200 |
commit | 1f8d6836261e0089454277d79b1d2ae2f940746b (patch) | |
tree | a8bc3da0666519a280b3671ae2f1b3dc85c1ede0 /gcc/ada/debug.adb | |
parent | 125a2260ce07e384238f8569c77d07c56762d39c (diff) | |
download | gcc-1f8d6836261e0089454277d79b1d2ae2f940746b.zip gcc-1f8d6836261e0089454277d79b1d2ae2f940746b.tar.gz gcc-1f8d6836261e0089454277d79b1d2ae2f940746b.tar.bz2 |
ada: Plug small loophole in the handling of private views in instances
This deals with nested instantiations in package bodies.
gcc/ada/
* sem_ch12.adb (Scope_Within_Body_Or_Same): New predicate.
(Check_Actual_Type): Take into account packages nested in bodies
to compute the enclosing scope by means of
Scope_Within_Body_Or_Same.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions