mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
rename default initializer's ActorSystem parameter name to actorSystem
Konrad, myself, and others feel the longer name would be better, rather than just "system"
This commit is contained in:
@@ -56,7 +56,7 @@ distributed actor OK6 {
|
||||
distributed actor OKMulti {
|
||||
|
||||
convenience init(y: Int, system: FakeActorSystem) { // ok
|
||||
self.init(system: system)
|
||||
self.init(actorSystem: system)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -64,7 +64,7 @@ distributed actor OKMulti {
|
||||
distributed actor OKMultiDefaultValues {
|
||||
|
||||
convenience init(y: Int, system: FakeActorSystem, x: Int = 1234) { // ok
|
||||
self.init(system: system)
|
||||
self.init(actorSystem: system)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user