--- a/GroovyEvaluator.st Sat Apr 25 12:05:13 2015 +0100
+++ b/GroovyEvaluator.st Sun Apr 26 21:07:30 2015 +0100
@@ -261,7 +261,7 @@
value := context getVariable: name.
"/ Update variable if it has been changed during
"/ evaluation
- value ~~ pair second value ifTrue:[
+ value ~~ pair first value ifTrue:[
pair second value: (value class javaUnwrap: value).
].
].
@@ -273,7 +273,7 @@
^ result class javaUnwrap: result.
"Created: / 19-02-2014 / 09:13:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 25-04-2015 / 11:58:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 26-04-2015 / 21:00:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GroovyEvaluator methodsFor:'error reporting'!