Files
swift-mirror/validation-test/IDE/crashers_fixed/RequirementMachine-verify-93646f.swift
Hamish Knight 905e8a04c3 [IDE] Avoid erasing opaque replacement types
The erasing we're doing here is only for printing purposes, that
doesn't really matter for the replacement types and avoids running into
a crash where we incorrectly grab the wrong generic signature.
2026-02-12 11:34:47 +00:00

12 lines
401 B
Swift

// {"kind":"complete","original":"ac690622","signature":"swift::rewriting::RequirementMachine::verify(swift::rewriting::MutableTerm const&) const"}
// RUN: %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
protocol a {
associatedtype b
func c -> b
struct d<e: Collection, f
>: a
where e.Element ==
{
c -> some a {
self#^^#