Files
swift-mirror/validation-test/compiler_crashers_fixed/174f557922f5c3cc.swift
Hamish Knight 4e811c3a88 [test] Merge crasher directories
There is no longer much of a good reason to keep these separate,
merge them.
2025-10-18 12:51:30 +01:00

17 lines
533 B
Swift

// {"kind":"typecheck","original":"2fdf1565","signature":"(anonymous namespace)::TypeSubstituter::transformDependentMemberType(swift::DependentMemberType*, swift::TypePosition)","stackOverflow":true}
// RUN: not %target-swift-frontend -typecheck %s
protocol a {
typealias b = c
associatedtype d: b
associatedtype J: Sequence = e<Self> where J.Element == d.f
}
protocol c {
associatedtype f
}
struct g<h>: a {
struct d
}
struct e<i: a>: Sequence {
struct Iterator: IteratorProtocol {
typealias Element = i.d.f