Files
swift-mirror/test/IRGen/Inputs/batchmode_errors.swift
Arnold Schwaighofer 7543d4df0b IRGen: Deal with broken conformance in the AST
rdar://57876556
2020-02-20 08:21:14 -08:00

23 lines
329 B
Swift

import Foundation
@objc
protocol SomeProto {
func conform()
}
class AnotherClass {}
class SomeClass {
// Intentionally referencing the wrong class name.
var x : AnotherClass2? = nil
}
protocol P {}
protocol WithAssoc {
associatedtype AssocType : P
}
struct BuggyConformer : WithAssoc {
typealias AssocType = Int
}