Files
swift-mirror/validation-test/IDE/crashers_fixed/ConstraintSystem-applySolution-bbfc02.swift
Hamish Knight f205f469a9 [CS] Replace error type with hole for projected value
Missed this in my previous patch, make sure we replace an error with
a hole if necessary.
2025-11-05 20:29:15 +00:00

12 lines
598 B
Swift

// {"kind":"complete","original":"3da7ab26","signature":"swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::constraints::SyntacticElementTarget)","signatureAssert":"Assertion failed: (isValidType(solution.simplifyType(type)) && \"node type has invalid type\"), function applySolution"}
// RUN: %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
@propertyWrapper struct a<b {
init(wrappedValue: b)
projectedValue:
var wrappedValue: b
}
{
@a var c = false
switch c {
#^^#