ada: Fix incorrect handling of Aggregate aspect
commitfd694822ca6eda8b08fea10fcabdb0ad508a963e
authorMarc Poulhiès <poulhies@adacore.com>
Tue, 28 Feb 2023 16:10:29 +0000 (28 17:10 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 25 May 2023 07:44:15 +0000 (25 09:44 +0200)
treefb0d1c8708474c762bd74f44f1011ee2840cca80
parent825cb651135ad9ddb28e047b81ea8a2a6c08a75f
ada: Fix incorrect handling of Aggregate aspect

This change fixes 2 incorrect handlings of the aspect.
The arguments are now correctly resolved and the aspect is rejected on
non array types.

gcc/ada/

* sem_ch13.adb (Analyze_One_Aspect): Mark Aggregate aspect as
needing delayed resolution and reject the aspect on non-array
type.
gcc/ada/sem_ch13.adb