redline-smalltalk/redline-smalltalk — Issue #48: respondsTo: problem
Author: LeeBreisacher
Created: 2011-12-18 22:34:06+00:00
State: open

This:

Assert assert: [ Object new respondsTo: #class ] withMessage: 'test #respondsTo:'.

produces this:

Exception in thread "main" st.redline.RedlineException: TODO - need to implement send of doesNotUnderstand - 'canUnderstand:' st.redline.Object
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.Object$respondsTo:.applyTo(st/redline/Object.st:67)
at st.redline.Primitives.send(Primitives.java:668)
at st.redline.Tests$B1.applyTo(st/redline/Tests.st:5)
at st.redline.Primitives.p201(Primitives.java:203)
at st.redline.BlockClosure$value.applyTo(st/redline/BlockClosure.st:7)
at st.redline.Primitives.send(Primitives.java:656)
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)