[Ada] AI12-0204 Renaming of a prefixed view
authorArnaud Charlet <charlet@adacore.com>
Mon, 24 Feb 2020 10:41:00 +0000 (05:41 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 8 Jun 2020 07:51:15 +0000 (03:51 -0400)
commit63408d0eb2f6fd33b6b423396e3d80d54f3235ae
tree7ca7f3fc5f12ab63c54894b927bee0c4959f7bf5
parent072c5071e0e95401cec2b700c3f276c9eb91abb1
[Ada] AI12-0204 Renaming of a prefixed view

2020-06-08  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* sem_ch5.adb: Fix typo.
* sem_ch8.adb (Analyze_Renamed_Primitive_Operation): Check that
the prefix of a prefixed view must be renamable as an object.
gcc/ada/sem_ch5.adb
gcc/ada/sem_ch8.adb