Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 104 #105

Merged
merged 3 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
smalltalk: [ GemStone64-3.7.0, GemStone64-3.5.8, GemStone64-3.6.8 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ next: count putAll: collection startingAt: offset
ifTrue: [ stream next: count putAll: collection startingAt: offset ]
ifFalse: [
buffer := ByteArray new: count.
buffer replaceFrom: 1 to: count with: collection asByteArray startingAt: offset.
buffer replaceFrom: 1 to: count with: collection startingAt: offset.
stream nextPutAll: buffer ] ]
ifFalse: [
(collection isKindOf: ByteArray)
ifTrue: [
buffer := String new: count.
buffer replaceFrom: 1 to: count with: collection asString startingAt: offset.
buffer replaceFrom: 1 to: count with: collection startingAt: offset.
stream nextPutAll: buffer ]
ifFalse: [ stream next: count putAll: collection startingAt: offset ] ]
Loading