Login  Register

[bug] Walkback saving a method with a misplaced ;

Posted by Tim M on Jul 01, 2006; 10:23am
URL: https://forum.world.st/bug-Walkback-saving-a-method-with-a-misplaced-tp3379291.html

I think this is a bug (although its not severe).

I deleted some code in a method so it ended up as follows:
createSchematicWiring
        "Create the trigger wiring for the receiver"

        super createSchematicWiring.

        namePresenter model: (self model aspectValueTrigger: #name).
        agePresenter model: (self model aspectValueTrigger: #age);


The semicolon on the last line is wrong, but when I save I get a walkback,
instead of a nicer UI error or underlined syntax error. (Obviosly fixing
the semi colon let me save - but it could confuse a newcomer).



11:21:28 am, 01 July 2006: 'StToken does not understand #value'
StToken(Object)>>doesNotUnderstand:
[] in StMessageNode>>buildSelector
Array(ArrayedCollection)>>do:
StMessageNode>>buildSelector
StMessageNode>>selector
MethodWorkspace>>selectedMessage
MethodWorkspace>>queryCommand:
DelegatingCommandPolicy(CommandPolicy)>>queryCommand:ofTarget:
[] in DelegatingCommandPolicy(CommandPolicy)>>queryCommand:
OrderedCollection>>do:
DelegatingCommandPolicy(CommandPolicy)>>queryCommand:
CommandMenuItem>>queryAlong:
[] in Menu>>queryAllAlong:
Array(SequenceableCollection)>>uncheckedFrom:to:keysAndValuesDo:
Array(SequenceableCollection)>>keysAndValuesDo:
Menu>>queryAllAlong:
Menu>>queryAllFromView:
ShellView>>wmInitMenuPopup:wParam:lParam:
ShellView(View)>>dispatchMessage:wParam:lParam:
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
ProcessorScheduler>>callback:evaluate:
InputState>>wndProc:message:wParam:lParam:cookie:
ShellView>>translateAccelerator:
ShellView>>preTranslateKeyboardInput:
ShellView(View)>>preTranslateMessage:
InputState>>preTranslateMessage:
InputState>>pumpMessage:
InputState>>loopWhile:
InputState>>mainLoop
[] in InputState>>forkMain
ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry
[] in ExceptionHandler(ExceptionHandlerAbstract)>>try:
BlockClosure>>ifCurtailed:
BlockClosure>>ensure:
ExceptionHandler(ExceptionHandlerAbstract)>>try:
BlockClosure>>on:do:
[] in BlockClosure>>newProcess