X Tutup
Skip to content

Commit 1604506

Browse files
author
vagrant
committed
Added GsContext>>tempNamed: (for compatibility with the test in Pharo 10)
1 parent 9167782 commit 1604506

File tree

1 file changed

+7
-0
lines changed
  • repository/Grease-GemStone-Core.package/GsContext.class/instance

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
accessing
2+
tempNamed: aString
3+
| index |
4+
index := self tempNames indexOf: aString asSymbol.
5+
index = 0
6+
ifTrue: [ Error raiseSignal: 'No such temp: ' , aString ].
7+
^ self tempAt: index

0 commit comments

Comments
 (0)
X Tutup