redline-smalltalk/redline-smalltalk — Issue #69: > doesn't parse correctly
Author: SeanTAllen
Created: 2011-12-23 09:48:53+00:00
State: open

Assertion assert: [ 2 > 1] withMessage: '2 is less than 1.'

results in

line 22:24 mismatched input '>' expecting ']'
Exception in thread "main" st.redline.RedlineException: TODO - need to implement send of doesNotUnderstand - 'assert:' st.redline.Assertion
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.IntegerTest$testGreaterThan.applyTo(st/redline/IntegerTest.st:22)
at st.redline.Primitives.send(Primitives.java:656)
at st.redline.IntegerTest$test.applyTo(st/redline/IntegerTest.st:8)
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)