Files
swift-mirror/validation-test/compiler_crashers_fixed/ConstraintSystem-applySolution-c6953c.swift
Hamish Knight 527f6d0cb0 [test] Add some fixed crashers
Add some crashers that I encountered while making some other changes,
ensure we don't regress them.
2026-02-19 20:37:16 +00:00

16 lines
516 B
Swift

// {"kind":"typecheck","original":"04310d73","signature":"swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::constraints::SyntacticElementTarget)","signatureAssert":"Assertion failed: (isValidType(type) && \"type binding has invalid type\"), function applySolution"}
// RUN: not %target-swift-frontend -typecheck %s
protocol a {
typealias b
}
protocol c: a
struct d<e: a {
f : e.b let elements: e
}
protocol g: c
struct h: g {
i {
d(f: i
elements
: self