mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
441 B
Swift
4 lines
441 B
Swift
// {"kind":"typecheck","signature":"fixRequirementFailure(swift::constraints::ConstraintSystem&, swift::Type, swift::Type, swift::ASTNode, llvm::ArrayRef<swift::constraints::ConstraintLocator::PathElement>)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
class a func b< each c : a >(repeat each c) b( d repeat {
|