Skip to content

Commit c2d032e

Browse files
authored
Fix compilation error in access pattern (#83)
The code for the access pattern when done originally 9 years ago was correct, however, 8 years ago it was broken when the following change was made: ponylang/ponyc@514d9c1
1 parent 2932cf9 commit c2d032e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/async/access.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Now, let's say we want to do some higher-level operations on these registers, an
6363
```pony
6464
actor Mathematician
6565
let _reg: SharedRegisters
66-
let _out: StdStream
67-
new create(reg: SharedRegisters, out: StdStream) =>
66+
let _out: OutStream
67+
new create(reg: SharedRegisters, out: OutStream) =>
6868
_reg = reg
6969
_out = out
7070
@@ -157,8 +157,8 @@ Now let's take a look at a revised implementation of `Mathematician` that uses t
157157
```pony
158158
actor Mathematician
159159
let _reg: SharedRegisters
160-
let _out: StdStream
161-
new create(reg: SharedRegisters, out: StdStream) =>
160+
let _out: OutStream
161+
new create(reg: SharedRegisters, out: OutStream) =>
162162
_reg = reg
163163
_out = out
164164

0 commit comments

Comments
 (0)