Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004789 [Squeak] Kernel minor always 09-09-06 13:49 09-09-06 18:09
Reporter Krivanek View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.10
Summary 0004789: [KernelImageOverride] TraitDescription logMethodSource:...
Description TraitDescription >> logMethodSource:forMethodWithNode:inCategory:withStamp:notifying:

original:

logMethodSource: aText forMethodWithNode: aCompiledMethodWithNode inCategory: category withStamp: changeStamp notifying: requestor
    | priorMethodOrNil newText |
    priorMethodOrNil := self compiledMethodAt: aCompiledMethodWithNode selector ifAbsent: [].
    newText _ ((requestor == nil or: [requestor isKindOf: SyntaxError]) not
                        and: [Preferences confirmFirstUseOfStyle])
            ifTrue: [aText askIfAddStyle: priorMethodOrNil req: requestor]
            ifFalse: [aText].
    aCompiledMethodWithNode method putSource: newText
        fromParseNode: aCompiledMethodWithNode node
        class: self category: category withStamp: changeStamp
        inFile: 2 priorMethod: priorMethodOrNil.

override:

logMethodSource: aText forMethodWithNode: aCompiledMethodWithNode inCategory: category withStamp: changeStamp notifying: requestor
    | priorMethodOrNil newText |
    priorMethodOrNil := self compiledMethodAt: aCompiledMethodWithNode selector ifAbsent: [].
    newText := aText.
    aCompiledMethodWithNode method putSource: newText
        fromParseNode: aCompiledMethodWithNode node
        class: self category: category withStamp: changeStamp
        inFile: 2 priorMethod: priorMethodOrNil.

dependent on SyntaxError that is part of Tools. So it should be override of Tools or we need better refactored solution.
Additional Information
Attached Files

- Relationships

- Notes
(0007030 - 29 - 29 - 29 - 29 - 29 - 29)
Krivanek
09-09-06 18:09

the same for ClassDescription
 

- Issue History
Date Modified Username Field Change
09-09-06 13:49 Krivanek New Issue
09-09-06 18:09 Krivanek Note Added: 0007030


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker