case class ObjectMayNotHaveSelfType
extends Message

Constructors

ObjectMayNotHaveSelfType ( mdef: ModuleDef )
ObjectMayNotHaveSelfType ( implicit ctx: Context )

Members

private implicit val ctx : Context
[+] val explanation : String

The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid the...

The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid these errors.

val kind : String

The kind of the error message is something like "Syntax" or "Type Mismatch"

The kind of the error message is something like "Syntax" or "Type Mismatch"

val mdef : ModuleDef
[+] val msg : String

The msg contains the diagnostic message e.g:

expected: String found: Int

This message will be placed underneath the position given by the enclosing Mes...

The msg contains the diagnostic message e.g:

expected: String found: Int

This message will be placed underneath the position given by the enclosing MessageContainer

def _1 : T1
def copy ( mdef: ModuleDef ) ( implicit ctx: Context ) : ObjectMayNotHaveSelfType
def copy$default$1 : ModuleDef