InferredMethodProvider
dotty.tools.pc.InferredMethodProvider
final class InferredMethodProvider(params: OffsetParams, driver: InteractiveDriver, config: PresentationCompilerConfig, symbolSearch: SymbolSearch)(using x$5: ReportContext)
Tries to calculate edits needed to create a method that will fix missing symbol in all the places that it is possible such as:
- apply inside method invocation
method(.., nonExistent(param), ...)andmethod(.., nonExistent, ...) - method in val definition
val value: DefinedType = nonExistent(param)andval value: DefinedType = nonExistent - simple method call
nonExistent(param)andnonExistent - method call inside a container
container.nonExistent(param)andcontainer.nonExistent
Value parameters
- config
-
presentation compiler configuration
- driver
-
Scala 3 interactive compiler driver
- params
-
position and actual source
- symbolSearch
-
symbol search
Attributes
- Graph
-
- Supertypes
Members list
In this article