mirror of
https://github.com/apple/swift.git
synced 2026-10-06 12:37:28 +02:00
14 lines
429 B
Swift
14 lines
429 B
Swift
// {"kind":"typecheck","original":"d61ccce6","signature":"swift::constraints::inference::BindingSet::inferTransitiveKeyPathBindings()","signatureAssert":"Assertion failed: (Kind != AllowedBindingKind::Fallback), function asTransitiveFrom"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
enum a {
|
|
case b([a])
|
|
var c {
|
|
switch self {
|
|
case .b(let children):
|
|
children[{
|
|
.map(\d).e ?? 0
|
|
}]
|
|
}
|
|
}
|
|
}
|