Mantis - Squeak
Viewing Issue Advanced Details
4795 Kernel minor always 09-09-06 14:28 08-05-13 17:58
Krivanek  
FrankShearar  
normal  
resolved 3.10  
fixed  
none    
none  
0004795: [KernelImageOverride] SysntaxErrorNotification defaultAction
SysntaxErrorNotification >> defaultAction

original:

defaultAction
    ^ToolSet debugSyntaxError: self

override:

defaultAction

    UIManager default syntaxErrorNotificationDefaultAction: self


dependent on Tools. It should be override of Tools package. Mabye rising of unhandled error will be better solution than special UIManager message.

Notes
(0014428)
FrankShearar   
08-05-13 17:58   
I've split the class across Compiler and System by moving the #defaultAction to the System package. This way System overrides/monkey-patches Compiler.

System-fbs.579 & Compiler-fbs.265.