]> gcc.gnu.org Git - gcc.git/commit
ada: Apply correct element type for container aggregates
authorViljar Indus <indus@adacore.com>
Wed, 5 Jul 2023 11:21:50 +0000 (14:21 +0300)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 18 Jul 2023 13:11:47 +0000 (15:11 +0200)
commit99c419b2a8ce033e8be08f656edd350d97f72125
treeeb7192a7cbc529a6a5f9f999a5cb302f8ed8a8a6
parenta6ca70c6744ed6019b1ddbc41c8a09a45331e5bb
ada: Apply correct element type for container aggregates

When dealing with a container aggregate with an iterator
specification the iterator should take the value of the
element of the container instead of the key.

gcc/ada/

* sem_aggr.adb (Resolve_Iterated_Association): Use the element
type for the iterator in a container aggregate with an iterator
specification.
gcc/ada/sem_aggr.adb
This page took 0.062572 seconds and 6 git commands to generate.