sem_ch10.adb (Build_Limited_Views): A type declared with a private type extension...
authorEd Schonberg <schonberg@adacore.com>
Mon, 4 Jul 2005 13:29:19 +0000 (15:29 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 4 Jul 2005 13:29:19 +0000 (15:29 +0200)
commitd5f09c91bfc909f42bb0f446692a09e23e7c977b
tree8aa465075e805d59be9fe017c08cddf531383709
parent323b59c470a055476f7b2089175de65036abf33c
sem_ch10.adb (Build_Limited_Views): A type declared with a private type extension needs a limited view.

2005-07-04  Ed Schonberg  <schonberg@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* sem_ch10.adb (Build_Limited_Views): A type declared with a private
type extension needs a limited view.
Remove previous restriction on private types available through the
limited-view (only tagged private types were previously allowed).
(Install_Withed_Unit): In the code that implements the
legality rule given in AI-377, exclude a child unit with the name
Standard, because it is a homonym of the Standard environment package.

From-SVN: r101586
gcc/ada/sem_ch10.adb