mirror of
https://github.com/apple/swift.git
synced 2026-10-18 17:49:23 +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.
7 lines
369 B
Swift
7 lines
369 B
Swift
// {"kind":"typecheck","signature":"(anonymous namespace)::ConnectedComponents::unionSets(swift::TypeVariableType*, swift::TypeVariableType*)","signatureAssert":"Assertion failed: (validComponentCount > 0), function unionSets","signatureNext":"ConstraintGraph::computeConnectedComponents"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
let b = (c(), d()
|
|
a {
|
|
e
|
|
b
|