Re: Unable to anchor a local variable type from a TUPLE.item_n

Philippe Ribet <[email protected]> Sat, 06 Aug 2005 04:00:16 +0200
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Alexander Rios wrote:

>The following code fails to compile:
>class TESTER
>creation {ANY}
>    execute
>feature {NONE}
>    t: TUPLE[INTEGER,REAL_64,STRING];
>
>    execute is
>        local
>            x: like t.item_2 
>        do
>  
>
Eiffel does not allow qualified calls for anchord definitions.

See: http://smarteiffel.loria.fr/wiki/en/index.php/Syntax_diagrams#Type

-- 
Philippe Ribet



                         The README file said
              "Requires Windows 95, NT 4.0, or better."
                    So... I installed it on Linux!