The Inbox: Tools-ct.865.mcz

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

The Inbox: Tools-ct.865.mcz

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

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

Name: Tools-ct.865
Author: ct
Time: 5 August 2019, 10:04:14.783062 am
UUID: 524c00a8-49c4-8346-af6f-09ec806d3e6a
Ancestors: Tools-mt.864

Fix styling bugs in SyntaxError emerged by Tools-mt.858

Bugs:
1. Compiler evaluate: 'DependentsFields at:' for: nil.
2. Compiler evaluate: '2+:3' for: 42.

I suppose this was a merging issue ...?

=============== Diff against Tools-mt.864 ===============

Item was changed:
  ----- Method: SyntaxError>>aboutToStyle: (in category 'text menu support') -----
  aboutToStyle: aStyler
 
+ aStyler
+ classOrMetaClass: self selectedClassOrMetaClass;
+ parseAMethod: false.
- aStyler classOrMetaClass: (self selectedClass = UndefinedObject ifFalse: [self selectedClass]).
  ^ true!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tools-ct.865.mcz

marcel.taeumel
Well, we need a way to also parse a method. ;-) Syntax errors can occur in (Workspace) expressions and methods, too. 

Best,
Marcel

Am 05.08.2019 10:04:27 schrieb [hidden email] <[hidden email]>:

A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.865.mcz

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

Name: Tools-ct.865
Author: ct
Time: 5 August 2019, 10:04:14.783062 am
UUID: 524c00a8-49c4-8346-af6f-09ec806d3e6a
Ancestors: Tools-mt.864

Fix styling bugs in SyntaxError emerged by Tools-mt.858

Bugs:
1. Compiler evaluate: 'DependentsFields at:' for: nil.
2. Compiler evaluate: '2+:3' for: 42.

I suppose this was a merging issue ...?

=============== Diff against Tools-mt.864 ===============

Item was changed:
----- Method: SyntaxError>>aboutToStyle: (in category 'text menu support') -----
aboutToStyle: aStyler

+ aStyler
+ classOrMetaClass: self selectedClassOrMetaClass;
+ parseAMethod: false.
- aStyler classOrMetaClass: (self selectedClass = UndefinedObject ifFalse: [self selectedClass]).
^ true!




Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tools-ct.865.mcz

marcel.taeumel
This must work, too:

String compile: 'foobar
^ 42 ,.-'

Best,
Marcel

Am 05.08.2019 10:08:03 schrieb Marcel Taeumel <[hidden email]>:

Well, we need a way to also parse a method. ;-) Syntax errors can occur in (Workspace) expressions and methods, too. 

Best,
Marcel

Am 05.08.2019 10:04:27 schrieb [hidden email] <[hidden email]>:

A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.865.mcz

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

Name: Tools-ct.865
Author: ct
Time: 5 August 2019, 10:04:14.783062 am
UUID: 524c00a8-49c4-8346-af6f-09ec806d3e6a
Ancestors: Tools-mt.864

Fix styling bugs in SyntaxError emerged by Tools-mt.858

Bugs:
1. Compiler evaluate: 'DependentsFields at:' for: nil.
2. Compiler evaluate: '2+:3' for: 42.

I suppose this was a merging issue ...?

=============== Diff against Tools-mt.864 ===============

Item was changed:
----- Method: SyntaxError>>aboutToStyle: (in category 'text menu support') -----
aboutToStyle: aStyler

+ aStyler
+ classOrMetaClass: self selectedClassOrMetaClass;
+ parseAMethod: false.
- aStyler classOrMetaClass: (self selectedClass = UndefinedObject ifFalse: [self selectedClass]).
^ true!