Files
swift-mirror/test/IDE/pr83369.swift
Hamish Knight acf6375d46 Introduce BindExtensionsForIDEInspectionRequest
This allows us to lazily bind extensions after mutating the AST,
ensuring we don't prematurely kick the building of lookup tables.
2025-08-10 23:49:03 +01:00

10 lines
223 B
Swift

// RUN: %batch-code-completion -module-name main
extension Int {}
// Make sure we can resolve P here.
protocol P<X> where X: main.#^COMPLETE^# {
associatedtype X
}
// COMPLETE: Decl[Protocol]/CurrModule: P[#P#]; name=P