mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
7 lines
366 B
Swift
7 lines
366 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::recordDisjunctionChoice(swift::constraints::ConstraintLocator*, unsigned int)","signatureAssert":"Assertion failed: (inserted), function recordDisjunctionChoice"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
struct a {
|
|
init! ( b: Int, () -> Int = {
|
|
}
|
|
() -> Int = a(b : 1) {
|