FuzzyArgMatcher

dotty.tools.pc.completions.FuzzyArgMatcher
class FuzzyArgMatcher(tparams: List[Symbol])(using x$2: Context)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def doMatch(allArgsProvided: Boolean)(expectedArgs: List[Symbol], actualArgs: List[Tree]): Boolean

A heuristic for checking if the passed arguments match the method's arguments' types. For non-polymorphic methods we use the subtype relation (<:<) and for polymorphic methods we use a heuristic. We check the args types not the result type.

A heuristic for checking if the passed arguments match the method's arguments' types. For non-polymorphic methods we use the subtype relation (<:<) and for polymorphic methods we use a heuristic. We check the args types not the result type.

Attributes

Extensions

Extensions

extension (arg: Type)
def fuzzyArg_<:<(expected: Type): Boolean
def unfold: Type