Files
swift-mirror/validation-test/compiler_crashers/GenericArgumentsMismatchFailure-diagnoseAsError-e782d1.swift
2025-12-08 11:01:59 +00:00

12 lines
485 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::GenericArgumentsMismatchFailure::diagnoseAsError()","signatureAssert":"Assertion failed: (purpose != CTP_Unused), 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