Method.st
changeset 19585 2aab71e0f0b6
parent 19449 607eb2e0e46c
child 19610 a9a6940944a9
child 19693 e7de1d102b32
--- a/Method.st	Thu Apr 14 14:11:49 2016 +0200
+++ b/Method.st	Thu Apr 14 14:50:57 2016 +0200
@@ -1028,9 +1028,11 @@
 
 annotationsAt: key1 orAt: key2 do: block
     self annotationsDo:[:annot |
-	(annot key == key1 or:[annot key == key2]) ifTrue:[
-	    block value: annot
-	]
+        |key|
+        key := annot key.
+        (key == key1 or:[key == key2]) ifTrue:[
+            block value: annot
+        ]
     ]
 
     "Created: / 16-07-2010 / 11:47:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"