[Ada] Fix resolution of subtype_indication in delta aggregates
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 28 Sep 2020 13:05:38 +0000 (15:05 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 24 Nov 2020 10:16:00 +0000 (05:16 -0500)
commit3e65b68dd67e45ae54aa47f41a1f8a8d8296cf26
tree4721647eafe7c38e27a08ed7594568ba1a8d9c5a
parent3ac0642304f83feda52d9285083a4e637e33e3d6
[Ada] Fix resolution of subtype_indication in delta aggregates

gcc/ada/

* sem_aggr.adb (Resolve_Delta_Array_Aggregate): If the choice is
a subtype_indication then call
Resolve_Discrete_Subtype_Indication; both for choices
immediately inside array delta aggregates and inside
iterated_component_association within array delta aggregates.
gcc/ada/sem_aggr.adb