Files
swift-mirror/validation-test/compiler_crashers/ConstraintSystem-compareSolutions-dcf902.swift
2025-10-27 08:49:51 +00:00

7 lines
541 B
Swift

// {"kind":"typecheck","original":"2e9096bf","signature":"swift::constraints::ConstraintSystem::compareSolutions(swift::constraints::ConstraintSystem&, llvm::ArrayRef<swift::constraints::Solution>, swift::constraints::SolutionDiff const&, unsigned int, unsigned int)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
// RUN: not --crash %target-swift-frontend -typecheck %s
extension Sequence {
b<c, d: KeyPath<Element, c>>(d )
{
[(a:2), (0.0 a : 1)].b(\.a