X Tutup
Skip to content

Commit b9ae2e0

Browse files
committed
Fix #greaseByteAt: for Squeak
1 parent 7049682 commit b9ae2e0

File tree

1 file changed

+1
-1
lines changed
  • repository/Grease-Squeak-Core.package/LargeInteger.extension/instance

1 file changed

+1
-1
lines changed

repository/Grease-Squeak-Core.package/LargeInteger.extension/instance/greaseByteAt..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ greaseByteAt: index
33
"Primitive. Answer the value of an indexable field in the receiver. LargePositiveInteger uses bytes of base two number, and each is a 'digit' base 256. Fail if the argument (the index) is not an Integer or is out of bounds. Essential. See Object documentation whatIsAPrimitive."
44

55
<primitive: 60>
6-
self bytesCount < index
6+
self greaseBytesCount < index
77
ifTrue: [^0]
88
ifFalse: [^super at: index]

0 commit comments

Comments
 (0)
X Tutup