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! |
Well, we need a way to also parse a method. ;-) Syntax errors can occur in (Workspace) expressions and methods, too. Best, Marcel
|
This must work, too: String compile: 'foobar ^ 42 ,.-' Best, Marcel
|
Free forum by Nabble | Edit this page |