File tree 2 files changed +2
-0
lines changed
bk1ch05zp08MainActorIsolation/MainActorIsolation
bk1ch05zp17HashableActor/HashableActor
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ class ViewController: UIViewController {
37
37
// so it looks like @MainActor class status is _not_ inherited
38
38
// at least not by non-override methods
39
39
// but the proposal says it should be, so I regard that as a bug
40
+ // still the same in RC
40
41
await self . viewControllerMethod ( )
41
42
}
42
43
}
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ actor BankAccount {
11
11
12
12
// according to the proposal, this should allow BankAccount to adopt Hashable
13
13
// but it doesn't; I've reported this as a bug
14
+ // still there in RC
14
15
extension BankAccount : Hashable {
15
16
nonisolated func hash( into hasher: inout Hasher ) {
16
17
hasher. combine ( accountNumber)
You can’t perform that action at this time.
0 commit comments