resolve(compilerKnownAlias:specializedBy:exposedTo:)

private mutating func resolve(
  compilerKnownAlias name: SourceRepresentable<Name>,
  specializedBy arguments: [CompileTimeValue],
  exposedTo scopeOfUse: AnyScopeID
) -> NameResolutionResult.CandidateSet

Returns the declarations of name interpreted as a compiler-known type alias (e.g., Never or Union<A, B>) specialized by arguments, or nil if an error occurred.