mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
One of the request triggers added to `ConformanceLookupTable` in https://github.com/apple/swift/pull/68384 can cause circular request evaluation. Revert the request trigger since it doesn't appear to be necessary for the test cases introduced in that PR. Resolves rdar://115314044
17 lines
245 B
Swift
17 lines
245 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
public protocol P {}
|
|
|
|
public protocol Q {
|
|
associatedtype A: P
|
|
func f(_: A)
|
|
}
|
|
|
|
open class Parent<C: P>: Q {
|
|
public func f(_: C) {}
|
|
}
|
|
|
|
final class Child: Parent<Child.Nested> {
|
|
struct Nested: P {}
|
|
}
|