Skip to content

Commit

Permalink
Symbols stay symbols when parsing to block
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeAtHPI committed Jan 4, 2024
1 parent a5f8198 commit 3ae5ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Sandblocks-Smalltalk/SBStLiteral.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ SBStLiteral >> wrapInVariantGivenCollection: aCollection [
alternatives: (aCollection collect: [:anObject |
SBNamedBlock block: (SBStBlockBody new
statements: {(
anObject isString
(anObject isString and: anObject isSymbol not)
ifTrue: [SBStString new contents: anObject]
ifFalse: [anObject asString parseAsSandblock])})
named: anObject asString])
Expand Down

0 comments on commit 3ae5ff5

Please sign in to comment.