Files
swift-mirror/validation-test/compiler_crashers_2/ee01b0cddb8c5936.swift
Hamish Knight 54ff7b339c [test] Fix up crasher test names
Turns out my code for this has been wrong all this time and hasn't
been been including leading zeros for each hex byte.
2025-09-19 13:11:53 +01:00

9 lines
831 B
Swift

// {"kind":"typecheck","signature":"(anonymous namespace)::AssociatedTypeInference::inferTypeWitnessesViaValueWitnesses(llvm::SetVector<swift::AssociatedTypeDecl*, llvm::SmallVector<swift::AssociatedTypeDecl*, 0u>, llvm::DenseSet<swift::AssociatedTypeDecl*, llvm::DenseMapInfo<swift::AssociatedTypeDecl*, void>>, 0u> const&)","signatureAssert":"Assertion failed: (!result.second->hasTypeParameter() || selfTy && \"We should only see unresolved type witnesses on the \" \"right-hand side of a binding when the value witness came from a \" \"protocol extension\"), function getPotentialTypeWitnessesFromRequirement"}
// RUN: not --crash %target-swift-frontend -typecheck %s
protocol a{associatedtype b} protocol c : RandomAccessCollection struct d < e
: a,
f {
g {
struct h : c {
typealias i = e.b subscript(i) f