James,
Is there any particular reason why the said method is commented out? Thanks. -- |0|0|
|
Not sure why it is still commented out.
I think it was at one stage because there were issues with processing blocks, which no longer exists. On Sat, Dec 29, 2012 at 3:32 PM, Srinivas JONNALAGADDA <[hidden email]> wrote: James, |
On Saturday, December 29, 2012 10:23:10 AM UTC+5:30, jamesl wrote:
Not sure why it is still commented out. Have you already taken care of this? Else, I shall include it in my next pull request. Thanks. -- |0|0|
|
Please take care of it - with a test too - and put in next pull request - James Sent from Hyperspace.
|
On Saturday, 29 December 2012 11:48:24 UTC+5:30, jamesl wrote:
I have raised a pull request for this, James. The solution works only partly; kindly investigate the test's last case. I shall investigate the same, too! I also have a different one-line pull request in the queue. I am not able to raise a pull request, though, since this one regarding Behavior>>inheritsFrom: is pending. Thanks. -- |0|0|
|
>>>The solution works only partly; kindly
What error are you seeing? On Sun, Dec 30, 2012 at 9:29 PM, JONNALAGADDA Srinivas <[hidden email]> wrote: The solution works only partly; kindly |
On Monday, 31 December 2012 02:26:21 UTC+5:30, jamesl wrote:
>>>The solution works only partly; kindly Please look at the classes `Parent`, `Child` and `BehaviorTest` in the Smalltalk tests directory. The following is the trace of the error. Surprisingly, after reaching `Parent`, a further invocation of superclass seems to result in a String somewhere! I have emphasised the corresponding lines in the trace. Note that isKindOf: checks for `Child` and `Parent` are successful. Only when we test against `Object` do we run into this problem. Thanks. -- |0|0| * * * * Running BehaviorTest Suite Child String ArrayedCollection [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:722) Caused by: st.redline.core.RedlineException: Object 'Child' (String) does not understand 'superclass'. at st.redline.core.PrimBasicDoesNotUnderstand.outputDoesNotUnderstandError(PrimBasicDoesNotUnderstand.java:30) at st.redline.core.PrimBasicDoesNotUnderstand.invoke(PrimBasicDoesNotUnderstand.java:9) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimBasicDoesNotUnderstand.invoke(PrimBasicDoesNotUnderstand.java:8) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:696) at st.redline.core.Behavior$B119.invoke(st/redline/core/Behavior.st:26) at st.redline.core.PrimObject.p81(PrimObject.java:355) at st.redline.core.BlockClosure$M127.invoke(st/redline/core/BlockClosure.st:7) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:696) at st.redline.core.PrimObject.p211(PrimObject.java:478) at st.redline.core.BlockClosure$M133.invoke(st/redline/core/BlockClosure.st:31) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:704) at st.redline.core.Behavior$M115.invoke(st/redline/core/Behavior.st:24) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:704) at st.redline.core.Object$B77.invoke(st/redline/core/Object.st:72) at st.redline.core.PrimObject.p81(PrimObject.java:355) at st.redline.core.BlockClosure$M127.invoke(st/redline/core/BlockClosure.st:7) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:696) at st.redline.core.False$M169.invoke(st/redline/core/False.st:54) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:716) at st.redline.core.Object$M57.invoke(st/redline/core/Object.st:71) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:704) at st.redline.core.BehaviorTest$M349.invoke(st/redline/core/BehaviorTest.st:14) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:696) at st.redline.core.BehaviorTest$M348.invoke(st/redline/core/BehaviorTest.st:7) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:696) at st.redline.core.TestSuite$M172.invoke(st/redline/core/TestSuite.st:19) at st.redline.core.PrimObject.apply(PrimObject.java:768) at st.redline.core.PrimObject.perform0(PrimObject.java:764) at st.redline.core.PrimObject.perform0(PrimObject.java:748) at st.redline.core.PrimObject.perform(PrimObject.java:696) at st.redline.core.TestRunner._sendMessages_(st/redline/core/TestRunner.st:3) at st.redline.core.TestRunner.<init>(st/redline/core/TestRunner.st) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at st.redline.core.Stic.invoke(Stic.java:79) at st.redline.core.Stic.invokeWith(Stic.java:31) at st.redline.core.Stic.main(Stic.java:14) ... 6 more |
Free forum by Nabble | Edit this page |