mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We can synthesize the default init() and the implicit deinit in a class in any order, depending on the order of primary files and how that class was used in other primary files. Make sure that EmittedMembersRequest puts the destructor at the end with all other synthesized members, so that we produce the same object file in any case.
4 lines
55 B
Swift
4 lines
55 B
Swift
public func makeAHorse() -> Horse {
|
|
return Horse()
|
|
}
|