1.9b bug
Raphael Crawford-Marks <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
There's a bug in Object is-a-subclass. I'm running breve 1.9b.
Code:
@use Control.
@use Mobile.
Controller testControl.
Control : testControl {
+ variables:
obj (object).
+ to init:
obj = 1 new MobileSubClass.
+ to iterate:
if (obj is-a-subclass of "Mobile"):
die "Subclass Test Worked.".
}
Mobile : MobileSubClass {
+ to iterate:
super iterate.
}
Output:
MobileSubClass (0x83c8120) method "get-type" called with uninitialized object
breve engine tack trace:
0) testControl (0x8395508) iterate (line 13 of "subclassTest.tz")
1) Object (0x83c8378) is-a-subclass (line 75 of "Object.tz")
... error in file "Object.tz" at line 79
--
Raphael Crawford-Marks
http://user-error.net
_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve