mirror of
https://github.com/apple/swift.git
synced 2026-10-14 15:51:20 +02:00
10 lines
626 B
Swift
10 lines
626 B
Swift
// {"kind":"typecheck","original":"6cb6108c","signature":"(anonymous namespace)::ExprRewriter::coerceCallArguments(swift::ArgumentList*, swift::AnyFunctionType*, swift::ConcreteDeclRef, swift::ApplyExpr*, swift::constraints::ConstraintLocatorBuilder, llvm::ArrayRef<swift::AppliedPropertyWrapper>)","signatureAssert":"Assertion failed: (appliedWrapperIndex == appliedPropertyWrappers.size()), function coerceCallArguments","signatureNext":"ExprRewriter::finishApply"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
@propertyWrapper struct a<b> {
|
|
var wrappedValue: b
|
|
}
|
|
func c<b>(d: inout b) {
|
|
{ (@a ) in
|
|
}(d)
|
|
}
|