Skip to content

Commit

Permalink
- do not use Smalltalk compiler, but the compiler of the class
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Nov 7, 2019
1 parent 26501aa commit ef0e95b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/NECompletion/CompletionContext.class.st
Expand Up @@ -56,10 +56,9 @@ CompletionContext >> narrowWith: aString [

{ #category : #parsing }
CompletionContext >> parseSource [
ast := Smalltalk compiler
ast := class compiler
source: source;
options: #(+ optionParseErrors + optionSkipSemanticWarnings);
class: class;
noPattern: isWorkspace;
parse.
ast doSemanticAnalysisIn: class.
Expand Down
3 changes: 1 addition & 2 deletions src/Shout/SHRBTextStyler.class.st
Expand Up @@ -971,10 +971,9 @@ SHRBTextStyler >> pixelHeight [
{ #category : #private }
SHRBTextStyler >> privateStyle: aText [
| ast |
ast := Smalltalk compiler
ast := classOrMetaClass compiler
source: aText;
options: #(+ optionParseErrors + optionSkipSemanticWarnings);
class: classOrMetaClass;
noPattern: self isForWorkspace;
requestor: workspace;
parse.
Expand Down

0 comments on commit ef0e95b

Please sign in to comment.