redline-smalltalk/redline-smalltalk — Issue #70: - doesn't parse correctly in a block
Author: SeanTAllen
Created: 2011-12-23 09:56:28+00:00
State: open

Assertion assert: [ 1 - 1 = 0 ] withMessage: '1 - 1 is not 0.'

results in

Exception in thread "main" st.redline.RedlineException: TODO - need to implement send of doesNotUnderstand - 'testSimpleSubtraction' st.redline.ProtoObject@5a5e179a(st.redline.IntegerTest)
at st.redline.RedlineException.withMessage(RedlineException.java:19)
at st.redline.Primitives.sendDoesNotUnderstand(Primitives.java:650)
at st.redline.Primitives.send(Primitives.java:661)
at st.redline.IntegerTest$test.applyTo(st/redline/IntegerTest.st:9)
at st.redline.Primitives.send(Primitives.java:656)
at st.redline.TestSuite$run.applyTo(st/redline/TestSuite.st:6)
at st.redline.Primitives.send(Primitives.java:656)
at st.redline.TestRunner.construct(st/redline/TestRunner.st:1)
at st.redline.TestRunner.(st/redline/TestRunner.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.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)