[bug] Walkback saving a method with a misplaced ;

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug] Walkback saving a method with a misplaced ;

Tim M
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


Reply | Threaded
Open this post in threaded view
|

Re: [bug] Walkback saving a method with a misplaced ;

Blair
"macta" <[hidden email]> wrote in message
news:[hidden email]...

>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).
>

Thanks. This has already been fixed for the next release.

Regards

Blair