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.
-
Returns a singleton containing a reference to
t, which is not generic.Declaration
Swift
func nonGeneric(_ t: MetatypeType) -> NameResolutionResult.CandidateSet
View on GitHub