Files
swift-mirror/validation-test/compiler_crashers_fixed/Solution-getFunctionArgApplyInfo-07e13f.swift
Pavel Yaskevich 201e76bfa6 [ConstraintSystem] Propagate a hole from function value to arguments/result
In diagnostic mode, propagate function value placeholder/hole to
arguments and result. This helps to avoid recording extraneous
fixes because generic parameters and leading-dot syntax arguments
cannot be inferred in this case.
2026-06-01 11:28:20 -07:00

4 lines
398 B
Swift

// {"kind":"typecheck","original":"0052e8e2","signature":"swift::constraints::Solution::getFunctionArgApplyInfo(swift::constraints::ConstraintLocator*) const","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast","signatureNext":"RValueTreatedAsLValueFailure::diagnoseAsError"}
// RUN: not %target-swift-frontend -typecheck %s
& &<##>