Files
swift-mirror/test/Generics/rdar115314044.swift
Allan Shortlidge eb4a93d5ad AST: Revert inherited type request in ConformanceLookupTable.
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
2023-09-13 20:20:31 -07:00

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 {}
}