liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Liberty-eiffel] Please integrate


From: Raphael Mack
Subject: Re: [Liberty-eiffel] Please integrate
Date: Sun, 23 Apr 2017 21:55:29 +0200

Hello,

thanks Jörg for showing this. I expected it to work already, as Cyril
added at least support for the assignment. And in case you change the
static type of your a from ARRAY[INTEGER] to COLLECTION[INTEGER] it
works for me. So I'd claim this a bug in the inheritance of the "assign"
implementation. Could you raise a ticket and attach your sample code?
Maybe even add the working case with COLLECTION?

The bracket alias is really not yet implemented. Another ticket?

Regards,
Rapha


Am Samstag, den 22.04.2017, 11:28 +0200 schrieb Jörg Baranczek:
> Hi, please look at the source file.
> 
> the code works with ise eiffel but not with liberty eiffel. can you 
> pleas integrate this.
> 
> thanks
> 
> ----------------------------------------------------------------------------------------------------------------------------------------
> 
> class ARR
> 
> create {ANY}
>      make
> 
> feature {ANY}
> 
>          a : ARRAY[INTEGER]
> 
>      make
>      do
>          create a.make(0,2)
> 
>          a.put(100,0)
>          io.put_integer(a.item(0))
> 
> --              works in ise eiffel but not in liberty-eiffel
> 
> --        a[1] := 200
> --        io.put_integer(a[1])
>      end
> 
> end
> 
> 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]