mill.runner.autooverride

Members list

Type members

Classlikes

trait AutoOverride[T]

A trait that enables automatic implementation of abstract methods.

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
Supertypes
class Object
trait Matchable
class Any
class AutoOverridePhase extends PluginPhase

Attributes

Source
AutoOverridePlugin.scala
Supertypes
trait PluginPhase
class MiniPhase
class Phase
class Object
trait Matchable
class Any
Show all
class AutoOverridePlugin extends StandardPlugin

Scala 3 compiler plugin that automatically implements abstract methods for objects extending AutoOverride[T].

Scala 3 compiler plugin that automatically implements abstract methods for objects extending AutoOverride[T].

Attributes

Source
AutoOverridePlugin.scala
Supertypes
trait StandardPlugin
trait Plugin
class Object
trait Matchable
class Any