[lisaac-Bugs][312071] Expanded objects in collections
lisaac-bugs at alioth.debian.org
lisaac-bugs at alioth.debian.org
Sat Nov 14 09:35:57 UTC 2009
Bugs item #312071, was opened at 14/11/2009 09:35 by Damien Bouvarel
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=312071&group_id=100200
Status: Open
Priority: 3
Submitted By: Damien Bouvarel (dams-guest)
Assigned to: Nobody (None)
Summary: Expanded objects in collections
Target Milestone: Lisaac 0.4
Category: Lisaac Compiler
Initial Comment:
The '==' operator limit the use of Expanded object in collections.
Section Header
+ name := PROTO;
Section Inherit
- parent:OBJECT := OBJECT;
Section Public
- main <-
( + keys:HASHED_DICTIONARY(INTEGER, INTEGER);
keys := HASHED_DICTIONARY(INTEGER, INTEGER).create;
keys.has 2.if {
};
);
Output:
Type `OBJECT' is invalid with `Expanded INTEGER'.
Line 112 column 34 in OBJECT(/home/dams/Lisaac/lisaac_0.39_beta/lib/standard/kernel/object.li):
- Self:SELF '==' Right 60 other:OBJECT :BOOLEAN <- ( deferred; FALSE);
^
Line 64 column 9 in HASHED_DICTIONARY(/home/dams/Lisaac/lisaac_0.39_beta/lib/standard/collection/hashed_dictionary.li):
- has k:K :BOOLEAN <-
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=312071&group_id=100200
More information about the Lisaac-devel
mailing list