Re: dynamically tagged expression not allowed

Xavier Nicollin <[email protected]>
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
Bonjour,

Thomas De Contes écrit :

> [...]
> 	type fenetre is access all contenuFenetre'Class;
> [...]
> 		fp :contenuFenetre renames fenetre(w).all;
> [...]
> -- mais là, à la ligne
> 		fp :contenuFenetre renames fenetre(w).all;
> -- je me mange un "dynamically tagged expression not allowed" :-(

Il me semble que
                 fp : contenuFenetre'Class renames fenetre(w).all;
résoud le problème, non ?

XN

-- 
| Institut polytechnique de Grenoble  -  Ensimag
| Verimag -- Centre Equation -- 2, ave. de Vignate -- F-38610 Gières
_______________________________________________
Site WWW de l'association Ada-France: http://www.ada-france.org/
[email protected]
http://www.ada-france.org/mailman/listinfo/ada-france
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.