Skip to content

Commit

Permalink
make sure the parser is handed a string, not a text. fixes pharo-proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Dec 3, 2019
1 parent 1c9bd6c commit 8dbcb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shout/SHRBTextStyler.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ SHRBTextStyler >> pixelHeight [
SHRBTextStyler >> privateStyle: aText [
| ast |
ast := classOrMetaClass compiler
source: aText;
source: aText asString;
noPattern: self isForWorkspace ;
options: #(+ optionParseErrors + optionSkipSemanticWarnings);
requestor: workspace;
Expand Down

0 comments on commit 8dbcb16

Please sign in to comment.