Files
swift-mirror/validation-test/compiler_crashers/ContextualFailure-tryProtocolConformanceFixIt-a8c84d.swift
Hamish Knight 4e811c3a88 [test] Merge crasher directories
There is no longer much of a good reason to keep these separate,
merge them.
2025-10-18 12:51:30 +01:00

15 lines
532 B
Swift

// {"kind":"typecheck","original":"bee4b7dd","signature":"swift::constraints::ContextualFailure::tryProtocolConformanceFixIt() const","signatureAssert":"Assertion failed: (!missingProtoTypeStrings.empty() && \"type already conforms to all the protocols?\"), function tryProtocolConformanceFixIt"}
// RUN: not --crash %target-swift-frontend -typecheck %s
protocol a<b, c> {
associatedtype b
associatedtype c
}
extension Int: a {
struct d<e>: a {
typealias b = e
}
func f() -> a<a, a> {
d<Int>(<#expression#>)
}
}