The Inbox: ShoutCore-ct.74.mcz

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

The Inbox: ShoutCore-ct.74.mcz

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

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

Name: ShoutCore-ct.74
Author: ct
Time: 2 October 2019, 2:12:06.443339 pm
UUID: 5c0d2d00-28a2-7340-9e42-d11f20c2f6b5
Ancestors: ShoutCore-ct.73

Simplifies and corrects context dependent styling. Makes ShoutTests-ct.32 pass again.

Thanks to Levente!

=============== Diff against ShoutCore-ct.73 ===============

Item was changed:
  ----- Method: SHParserST80>>initializeVariablesFromContext (in category 'parse support') -----
  initializeVariablesFromContext
 
  | contextSourcePcIndex contextSourceParser |
  contextSourcePcIndex := (context debuggerMap
  rangeForPC: context pc
  in: context method
  contextIsActiveContext: true "little white lie to work in every situation")
  start.
  contextSourceParser := self class new
  classOrMetaClass: context method methodClass;
  environment: self environment;
  source: (context method getSource first: contextSourcePcIndex);
  yourself.
  contextSourceParser parse.
+ arguments := contextSourceParser activeArguments.
+ temporaries  := contextSourceParser activeTemporaries.!
- arguments at: 1 put: ((contextSourceParser activeArguments
- reject: #isNil) gather: #yourself) asOrderedCollection.
- temporaries at: 1 put: ((contextSourceParser activeTemporaries
- reject: #isNil) gather: #yourself) asOrderedCollection.!