[lisaac-Bugs][311918] Dynamic binding problem on BOOLEAN
lisaac-bugs at alioth.debian.org
lisaac-bugs at alioth.debian.org
Wed Sep 9 10:00:13 UTC 2009
Bugs item #311918, was changed at 04/09/2009 15:19 by Benoit Sonntag
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=311918&group_id=100200
>Status: Closed
Priority: 3
Submitted By: Mildred Ki'Lya (mildred-guest)
Assigned to: Nobody (None)
Summary: Dynamic binding problem on BOOLEAN
Target Milestone: Lisaac 0.4
Category: Lisaac Compiler
Initial Comment:
There is a dynamic binding problem on BOOLEAN. Instead of resolving to either TRUE or FALSE, the slots on BOOLEAN are executed.
On commit: 6a536dabcb6728349c48bb59333f28c78bbb3398
The example is:
Section Header
+ name := VAR1;
Section Inherit
+ parent_object :Expanded OBJECT;
Section Public
- main <-
( + boolean_variable :BOOLEAN;
boolean_variable.println;
boolean_variable := FALSE;
boolean_variable.println;
boolean_variable.if {
"TRUE".println;
} else {
"FALSE".println;
};
);
Running this, I get the output:
BOOLEAN
BOOLEAN
FALSE
I should get:
FALSE
FALSE
FALSE
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=311918&group_id=100200
More information about the Lisaac-devel
mailing list