[Ada] Fix scope of index parameter inside a delta aggregate
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 5 Aug 2020 22:53:11 +0000 (00:53 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 23 Oct 2020 08:24:47 +0000 (04:24 -0400)
commit70b590e2481f9a887009e51396727659f49b0def
treea2aaaaa6550930a3f006588979caf825dd57b0a5
parentf9c20bd7853a746b7c9373bff6b92459b53703cd
[Ada] Fix scope of index parameter inside a delta aggregate

gcc/ada/

* sem_aggr.adb (Resolve_Delta_Array_Aggregate): Push scope of
the implicit loop before entering name of the index parameter,
not after; enter name no matter if the identifier has been
decorated before.
gcc/ada/sem_aggr.adb