The Inbox: Kernel-ct.1355.mcz

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

The Inbox: Kernel-ct.1355.mcz

commits-2
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1355.mcz

==================== Summary ====================

Name: Kernel-ct.1355
Author: ct
Time: 24 October 2020, 12:39:11.860058 am
UUID: 32ca6b45-a632-e743-8a51-10d5d9dee1b3
Ancestors: Kernel-mt.1353

Fixes source logging when fixing a SyntaxError. In the past, the old source was stored in the logs instead of the new one.

=============== Diff against Kernel-mt.1353 ===============

Item was changed:
  ----- Method: ClassDescription>>compileCue:classified:withStamp:logSource: (in category 'compiling') -----
  compileCue: compilationCue classified: category withStamp: changeStamp logSource: logSource
 
  | methodAndNode methodNode selector |
  methodNode := self newCompiler compile: compilationCue ifFail: [^nil].
  methodAndNode := CompiledMethodWithNode
  generateMethodFromNode: methodNode
  trailer: (compilationCue methodTrailer ifNil:
  [self defaultMethodTrailerIfLogSource: logSource]).
  selector := methodAndNode selector.
  logSource ifTrue:
  [self
+ logMethodSource: methodNode sourceText
- logMethodSource: compilationCue source
  forMethodWithNode: methodAndNode
  inCategory: category
  withStamp: changeStamp
  notifying: compilationCue requestor.
  RecentMessages default
  recordSelector: selector
  forClass: methodAndNode method methodClass
  inEnvironment: compilationCue environment].
  self
  addAndClassifySelector: selector
  withMethod: methodAndNode method
  inProtocol: category
  notifying: compilationCue requestor.
  self instanceSide
  noteCompilationOf: selector
  meta: self isClassSide.
  ^selector!