AutoOverride
mill.runner.autooverride.AutoOverride
A trait that enables automatic implementation of abstract methods.
Any concrete object that extends AutoOverride[T] will have any unimplemented abstract methods with return type <: T automatically implemented by calling this.autoOverrideImplT.
The implementing class must provide an inline def autoOverrideImpl[T] macro that resolves LiteralImplicit[T] during macro expansion.
Type parameters
- T
-
the return type that will be automatically implemented
Attributes
- Source
- AutoOverride.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
In this article