Skip to content

Commit

Permalink
[feenkcom/gtoolkit#4072] Use Symbol keys for bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
akgrant43 committed Oct 22, 2024
1 parent e66fc6b commit 6db5e51
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/PharoLink/PharoLinkServerConnection.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,17 @@ PharoLinkServerConnection >> globals [

{ #category : #private }
PharoLinkServerConnection >> handlEnqueue: aDictionary [

"Process the supplied statements"
| command bindings |

| command |
bindings := Dictionary new.
(aDictionary at: #bindings) keysAndValuesDo: [ :key :value |
bindings
at: key asSymbol
put: (self deserialize: value) ].
command := PharoLinkEvalCommand
source: (aDictionary at: #statements)
bindings:
((aDictionary at: #bindings) asDictionary collect: [
:obj | self deserialize: obj ])
bindings: bindings
id: (aDictionary at: #commandId).
command connection: self.
processes add: ([
Expand Down

0 comments on commit 6db5e51

Please sign in to comment.