mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
590 B
Swift
4 lines
590 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::repairFailures(swift::Type, swift::Type, swift::constraints::ConstraintKind, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, llvm::SmallVectorImpl<swift::constraints::RestrictionOrFix>&, swift::constraints::ConstraintLocatorBuilder)","signatureAssert":"Assertion failed: (Index < Length && \"Invalid index!\"), function operator[]"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
func a< b , c : Sequence, d >( b, c) where b== c.Element a( ( 0 , [ (0 0), (
|