-
Declaration being referenced.
Declaration
Swift
let reference: DeclReference -
The type of the declaration.
Declaration
Swift
let type: AnyType -
The constraints related to the open variables in
type, if any.Declaration
Swift
let constraints: ConstraintSet -
The diagnostics associated with to this candidate, if any.
Declaration
Swift
let diagnostics: DiagnosticSet -
Creates an instance with the given properties.
Declaration
Swift
init( reference: DeclReference, type: AnyType, constraints: ConstraintSet, diagnostics: DiagnosticSet ) -
Creates an instance denoting a built-in function, calling
freshVariableto create fresh type variables.Declaration
Swift
init(_ f: BuiltinFunction, makingFreshVariableWith freshVariable: () -> TypeVariable) -
Creates an instance denoting a built-in type.
Declaration
Swift
init(_ t: BuiltinType) -
A candidate denoting a reference to the built-in module.
Declaration
Swift
static let builtinModule: NameResolutionResult.Candidate -
Creates an instance denoting an compiler-known type.
Declaration
Swift
static func compilerKnown(_ t: AnyType) -> NameResolutionResult.Candidate
View on GitHub