X Tutup
Skip to content

Commit 6e1d99d

Browse files
author
Johan Brichau
committed
Adapted the method comment in GRDynamicVariable implementation of GemStone to better reflect why we override it.
1 parent 175d8e3 commit 6e1d99d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

repository/Grease-GemStone-Core.package/GRDynamicVariable.class/class/use.during..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
accessing
22
use: anObject during: aBlock
33
| p oldValue result |
4-
"Proper implementation instead of use 'super value:during:' because that one does not return value, perhaps this should be fixed in DynamicVariable?"
4+
"We cannot just do a super call to value:during: because the GS implementation does not return a result value and also does not produce an error when the dynamic var was not found."
55
p := Processor activeProcess.
66
oldValue := p environmentAt: self.
77
[

repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"class" : {
33
"default" : "JohanBrichau 07/23/2017 09:48",
44
"defaultValue" : "JohanBrichau 07/23/2017 09:47",
5-
"use:during:" : "JohanBrichau 07/23/2017 07:39" },
5+
"use:during:" : "JohanBrichau 09/07/2017 05:38" },
66
"instance" : {
77
} }

0 commit comments

Comments
 (0)
X Tutup