mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
4 lines
445 B
Swift
4 lines
445 B
Swift
// {"kind":"typecheck","signature":"(anonymous namespace)::ExprRewriter::finishApply(swift::ApplyExpr*, swift::Type, swift::constraints::ConstraintLocatorBuilder, swift::constraints::ConstraintLocatorBuilder)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
func a(b : ()->Void c : _->Void) { withoutActuallyEscaping(b do : c
|