mirror of
https://github.com/apple/swift.git
synced 2026-09-28 10:03:29 +02:00
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.
4 lines
394 B
Swift
4 lines
394 B
Swift
// {"kind":"typecheck","original":"1d97bdbd","signature":"swift::constraints::ConstraintGraph::computeConnectedComponents(llvm::ArrayRef<swift::TypeVariableType*>)","signatureAssert":"Assertion failed: (component != components.end()), function operator()","signatureNext":"SplitterStep::computeFollowupSteps"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
let i =... a { " ? \(i Array* )" [
|