You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testEvaluateWithBindings
| result |
result := Smalltalk compiler
bindings: {(#a -> 3)} asDictionary;
evaluate: '1+a'.
self assert: result equals: 4
=>
A possible solution
testEvaluateWithBindings
| result |
result := (self class environment at: #OpalCompiler) new
bindings: {(#a -> 3)} asDictionary;
evaluate: '1+a'.
self assert: result equals: 4
testEvaluateWithBindings
| result |
result := OpalCompiler new
bindings: {(#a -> 3)} asDictionary;
evaluate: '1+a'.
self assert: result equals: 4
The text was updated successfully, but these errors were encountered:
=>
A possible solution
The text was updated successfully, but these errors were encountered: