Is your new read-only word shadowing the one in syntax?
TUPLE: read-only ;
USE: syntax
TUPLE: abc { a read-only } ;
should work fine.
Slava
On Wed, Dec 3, 2008 at 1:35 AM, Eduardo Cavazos <[EMAIL PROTECTED]> wrote:
> Slava,
>
> This:
>
> TUPLE: read-only ;
>
> Breaks the 'read-only' attribute. I.e. these won't work after a 'read-only'
> class is defined:
>
> TUPLE: <abc> { a read-only initial: 10 } ;
>
> 10 <abc> boa
>
> Ed
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk