Files
swift-mirror/validation-test/compiler_crashers_2/4437c5c5a29553a.swift
2025-07-14 19:56:51 +01:00

14 lines
322 B
Swift

// {"kind":"typecheck","original":"5af4a4fb","signature":"swift::constraints::ConstraintSystem::getBindingsFor(swift::TypeVariableType*)"}
// RUN: not --crash %target-swift-frontend -typecheck %s
struct a {
func b(arr: [a]) {
arr.compactMap {
{ c in
d ?? {
$0..
}
}
}
}
}