[Ada] Visibility error with aggregate in Declare_Expression
authorEd Schonberg <schonberg@adacore.com>
Wed, 6 May 2020 16:03:27 +0000 (12:03 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 6 Jul 2020 11:35:03 +0000 (07:35 -0400)
commit07ac6d8aadae834c20493def3c38ce6b67383c6a
tree38d477a761ba30084926d5c902f61f18e52d4785
parent114efadf43a21f1c56b2b79cdabc0bea91ca68d5
[Ada] Visibility error with aggregate in Declare_Expression

gcc/ada/

* sem_res.adb (Resolve_Declare_Expression): New subprogram, to
install the scope holding local declarations of the expression,
before completing its resolution.
(Resolve): For an Expression_With_Actions that comes from a
source occurrence of a Declare_Expression, call new subprogram.
gcc/ada/sem_res.adb