Files
swift-mirror/test/SILGen/Inputs/weak_other.swift

24 lines
361 B
Swift

public struct Flags {
public func asBoolean() -> Bool { return true }
}
public protocol Router : class {
}
extension Router {
public var flags: Flags { return Flags() }
}
public protocol Environment : class {
var router: Router { get }
}
open class UI {
open unowned let environment: Environment
init(e: Environment) {
environment = e
}
}