mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
692 B
Swift
4 lines
692 B
Swift
// {"kind":"typecheck","signature":"matchCallArguments(swift::constraints::ConstraintSystem&, swift::FunctionType*, swift::ArgumentList*, llvm::ArrayRef<swift::AnyFunctionType::Param>, llvm::ArrayRef<swift::AnyFunctionType::Param>, swift::constraints::ConstraintKind, swift::constraints::ConstraintLocatorBuilder, std::__1::optional<swift::constraints::TrailingClosureMatching>, llvm::SmallVectorImpl<std::__1::pair<swift::TypeVariableType*, swift::ExistentialArchetypeType*>>&)","signatureAssert":"Assertion failed: (Index < Length && \"Invalid index!\"), function operator[]"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
func a< b, c >(b, d : KeyPath< b, c >b ) a ((e, at: f\g
|