Files
swift-mirror/validation-test/IDE/crashers/d41add6f5844fe32.swift
2025-08-15 17:09:58 +01:00

14 lines
663 B
Swift

// {"kind":"complete","signature":"swift::Mangle::ASTMangler::appendExtension(swift::ExtensionDecl const*, swift::Mangle::ASTMangler::BaseEntitySignature&, llvm::StringRef)","stackOverflow":true}
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
public struct Wrapper<T: P> {}
extension Wrapper: Q where T: Q {
public protocol PBase {
associatedtype AssocType
}
public protocol P: PBase {
override associatedtype AssocType:#^^# P = Wrapper<Self>
}
public protocol Q: P where SelfAssocType: Q {}
public protocol R: Q where Self.AssocType: R {}
}