AutoOverride

mill.runner.autooverride.AutoOverride
trait AutoOverride[T]

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 Object
trait Matchable
class Any
In this article