Re: Getting rid of select

"Colin Adams" <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
I don't remember, but I suspect that must have been the reason.

2008/5/1 Eric Bezault <[email protected]>:
> Hi Colin,
>
>  I can see that in classes XM_XSLT_GROUP_NODE_ITERATOR and
>  XM_XSLT_SORTED_GROUP_NODE_ITERATOR you are using 'select'.
>  Apart from UC_STRING, these are the only two occurrences of
>  'select' in Gobo. Right from the start I tried to avoid using
>  'select' because it was not working correctly when compiled
>  with SmartEiffel. OK, we don't care about SmartEiffel anymore,
>  but now there is a push from ECMA to get rid of 'select'.
>  So I was wondering why you used 'select' in these classes.
>  Was it just because the features involved were attributes
>  and one cannot undefine an attribute (to have it merged with
>  the version from the other inheritance branch)? If this is
>  the reason, then there is a way to merge two attributes coming
>  from two different parents. You just have to redefine this
>  attribute in both inheritance branches:
>
>  class C
>  inherit
>      A
>         redefine
>            attr
>         end
>      B
>         redefine
>            attr
>         end
>  feature
>      attr: TYPE
>           -- ...
>  end
>
>  --
>  Eric Bezault
>  mailto:[email protected]
>  http://www.gobosoft.com
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  gobo-eiffel-develop mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
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.