SuccessKind

This enum holds information about the kind of success this call resolution had. For example, whether it was successful without any errors or if an ambiguous result was returned.

Entries

Link copied to clipboard

The call resolution was successful, and we have identified the best viable function(s).

Link copied to clipboard

The call resolution was problematic, i.e., some error occurred, or we were running into an unexpected state. An example would be that we arrive at multiple candidateFunctions for a language that does not have HasFunctionOverloading.

Link copied to clipboard

The call resolution was ambiguous in a way that we cannot decide between one or more viableFunctions. This can happen if we have multiple functions that have the same SignatureResult.ranking. A real compiler could not differentiate between those two functions and would throw a compile error.

Link copied to clipboard

The call resolution was unsuccessful, we could not find a bestViable or even a list of viableFunctions out of the candidateFunctions.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.