mirror of
https://github.com/apple/swift.git
synced 2026-11-01 23:11:50 +01: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
|
|
}]
|
|
}
|
|
}
|
|
}
|