mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
517 B
Swift
12 lines
517 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::GenericArgumentsMismatchFailure::diagnoseAsError()","signatureAssert":"Assertion failed: (!(purpose == CTP_Unused || purpose == CTP_CannotFail)), function diagnoseAsError"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
@propertyWrapper struct a<b{
|
|
wrappedValue: b
|
|
}
|
|
@propertyWrapper struct e<b{
|
|
wrappedValue: b
|
|
}
|
|
{
|
|
@e @a var value = if true
|
|
let : e<a<Bool>> = _value
|