mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is a regression from recent changes to make finalizeDecl() do less work. All these resolveDeclSignature() calls will hopefully go away soon, once validateDecl() is refactored into a getInterfaceType() request.
29 lines
530 B
Swift
29 lines
530 B
Swift
public struct InnerStruct {
|
|
let field: Int = 0
|
|
|
|
public init() {}
|
|
}
|
|
|
|
public enum InnerEnum {
|
|
case field(Int)
|
|
}
|
|
|
|
public struct OuterStruct {
|
|
let first: InnerStruct = InnerStruct()
|
|
let second: InnerEnum = InnerEnum.field(0)
|
|
|
|
public init() {}
|
|
}
|
|
|
|
public final class Burger {
|
|
public let onions: Bool = true
|
|
public let complex: OuterStruct = OuterStruct()
|
|
public let cheeseSlices: Int = 0
|
|
}
|
|
|
|
@_fixed_layout
|
|
public final class Burrito {
|
|
public let filling: OuterStruct = OuterStruct()
|
|
public let cilantro: Int = 0
|
|
}
|