Post by Chris Iverson on Mar 14, 2019 0:41:59 GMT -5
This bit of code:
Will cause an error, "Message not understood: #end"
Additionally, this will almost always cause the IDE to crash right after highlighting the offending END statement. I've had maybe one or two executions where it popped up a notice with the error instead.
errorHappened = 1
if errorHappened then
print "oops"
end
end if
Will cause an error, "Message not understood: #end"
==2019/3/14==0:38:39==BEGIN RUNTIME DIAGNOSTIC DUMP
Note: this file stored in VisualWorks #source (UTF-8) encoding
Cause of Dump: Unhandled exception: Message not understood: #end
Smalltalk Version: 'VisualWorks®, Pre-Release 8.3.2 (apr18.3) of April 20, 2018'
Object Memory versionId: #[172 47 76 176 83 2 3 4 172 47 76 176]
Class creating this dump: ErrorDumper
------------------------------------------------------------
Active Process
Process named: 'Unnamed Process'
Process priority: 50
Process identity hash: 12015
Context Stack:
[1] optimized [] in Director>>direct:
[2] BlockClosure>>cull:
[3] MessageNotUnderstood(GenericException)>>performHandler:
[4] MessageNotUnderstood(GenericException)>>propagatePrivateFrom:
[5] MessageNotUnderstood(GenericException)>>propagateFrom:
[6] MessageNotUnderstood(GenericException)>>propagate
[7] MessageNotUnderstood(GenericException)>>raiseSignal
[8] optimized [] in Director>>direct:
[9] BlockClosure>>cull:
[10] MessageNotUnderstood(GenericException)>>performHandler:
[11] MessageNotUnderstood(GenericException)>>propagatePrivateFrom:
[12] MessageNotUnderstood(GenericException)>>propagateFrom:
[13] MessageNotUnderstood(GenericException)>>propagate
[14] MessageNotUnderstood(GenericException)>>raiseSignal
[15] IfThenClip(Object)>>doesNotUnderstand:
[16] EndFrame>>animate:
[17] optimized [] in [] in Director>>direct:
[18] OrderedCollection>>do:
[19] optimized [] in Director>>direct:
[20] BlockClosure>>on:do:
[21] Director>>direct:
[22] Director>>for:direct:
[23] IfThenClip>>animate:
[24] optimized [] in [] in Director>>direct:
[25] OrderedCollection>>do:
[26] optimized [] in Director>>direct:
[27] BlockClosure>>on:do:
[28] ProgramDirector(Director)>>direct:
[29] ProgramDirector>>direct:
[30] ProgramDirector(Director)>>for:direct:
[31] ProgramDirector>>for:direct:
[32] Program>>runWithDirector:
[33] optimized [] in Program>>runForked
[34] BlockClosure>>on:do:
[35] optimized [] in Process class>>forBlock:priority:
------------------------------------------------------------
Unhandled Exception:
class: UnhandledException
creator: UnhandledException
errorString: Unhandled exception: Message not understood: #end
parameter: a MessageNotUnderstood
==2019/3/14==0:38:39==END RUNTIME DIAGNOSTIC DUMP
Additionally, this will almost always cause the IDE to crash right after highlighting the offending END statement. I've had maybe one or two executions where it popped up a notice with the error instead.