Skip to content

Commit c950880

Browse files
committed
Fix the error message in the code snippet
1 parent 68c3c4a commit c950880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/NNNN-global-actor-isolated-types-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class IsolatedSubclass: NonSendable {
204204
var mutable = 0
205205
override func test() {
206206
super.test()
207-
mutable += 0 // error: Main actor-isolated property 'isolated' can not be referenced from a non-isolated context
207+
mutable += 0 // error: Main actor-isolated property 'mutable' can not be referenced from a non-isolated context
208208
}
209209
}
210210
```

0 commit comments

Comments
 (0)