[Ada] Remove obsolete special case in Switch_View
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 16 Jun 2020 07:58:09 +0000 (09:58 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 27 Jul 2020 08:05:17 +0000 (04:05 -0400)
commit2c3bc159a8ca5f128e934b0357900c40b9d965fb
tree54eb7cf0343c811e07438d1b70e93d1cd8f0bceb
parentc893f4a5e0ec94d20bdc5786de3d91f2a13f668e
[Ada] Remove obsolete special case in Switch_View

gcc/ada/

* sem_ch12.adb (Instantiate_Package_Body): Add commentary for a
nesting issue with parent handling and private view switching.
(Switch_View): Do not skip specific private-dependent subtypes.
gcc/ada/sem_ch12.adb