Files
swift-mirror/validation-test/compiler_crashers_fixed/ExprPatternMatchRequest-evaluate-50b525.swift
Hamish Knight 05e3d15955 [CS] Propagate CSApply failures in a few more places
We had some cases where we weren't propagating failures to apply the
solution, and as such weren't invalidating the resulting AST. Fix up
these cases.
2025-10-26 14:49:17 +00:00

4 lines
334 B
Swift

// {"kind":"typecheck","signature":"swift::ExprPatternMatchRequest::evaluate(swift::Evaluator&, swift::ExprPattern const*) const","signatureAssert":"Assertion failed: (EP->isResolved() && \"Must only be queried once resolved\"), function evaluate"}
// RUN: not %target-swift-frontend -typecheck %s
enum a { b(c : a){{guard case.b = c