redline-smalltalk/redline-smalltalk — Issue #46: isKindOf: error
Author: LeeBreisacher
Created: 2011-12-18 22:03:28+00:00
State: open

This:

Assert assert: [ #(this is an array) isKindOf: Collection ] withMessage: 'test #isKindOf:'.

produces this:

Exception in thread "main" st.redline.RedlineException: TODO - need to implement send of doesNotUnderstand - 'ifFalse:' st.redline.BlockClosure
at st.redline.RedlineException.withMessage(RedlineException.java:19)
at st.redline.Primitives.sendDoesNotUnderstand(Primitives.java:650)
at st.redline.Primitives.send(Primitives.java:673)
at st.redline.Assert$$assert:withMessage:.applyTo(st/redline/Assert.st:6)
at st.redline.Primitives.send(Primitives.java:680)
at st.redline.Tests.construct(st/redline/Tests.st:5)
at st.redline.Tests.(st/redline/Tests.st)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at st.redline.ProtoObject.loadObject(ProtoObject.java:124)
at st.redline.ProtoObject.resolveObject0(ProtoObject.java:111)
at st.redline.ProtoObject.resolveObject(ProtoObject.java:93)
at st.redline.ProtoObject.resolveObject0(ProtoObject.java:106)
at st.redline.ProtoObject.resolveObject(ProtoObject.java:93)
at st.redline.ProtoObject.resolveObject(ProtoObject.java:55)
at st.redline.Stic.createClassInstance(Stic.java:73)
at st.redline.Stic.invoke(Stic.java:69)
at st.redline.Stic.invokeWith(Stic.java:26)
at st.redline.Stic.main(Stic.java:12)