IllegalParameterInit

class IllegalParameterInit(found: Type, expected: Type, param: Symbol, cls: Symbol)(using x$5: Context) extends TypeMismatchMsg
class Message
class Object
trait Matchable
class Any

Value members

Concrete methods

def msg: String

Inherited methods

def append(suffix: => String): Message
Inherited from:
Message
Inherited from:
Message
override def canExplain: Boolean
Definition Classes
Inherited from:
TypeMismatchMsg
Inherited from:
TypeMismatchMsg

A message is non-sensical if it contains references to tags. Such tags are inserted by the error diagnostic framework if a message contains references to internally generated error types. Normally we want to suppress error messages referring to types like this because they look weird and are normally follow-up errors to something that was diagnosed before.

A message is non-sensical if it contains references to tags. Such tags are inserted by the error diagnostic framework if a message contains references to internally generated error types. Normally we want to suppress error messages referring to types like this because they look weird and are normally follow-up errors to something that was diagnosed before.

Inherited from:
Message
Inherited from:
TypeMismatchMsg
Inherited from:
Message
override def msgSuffix: String
Definition Classes
Inherited from:
ShowMatchTrace

The implicit Context in messages is a large thing that we don't want persisted. This method gets around that by duplicating the message, forcing its msg and explanation vals and dropping the implicit context that was captured in the original message.

The implicit Context in messages is a large thing that we don't want persisted. This method gets around that by duplicating the message, forcing its msg and explanation vals and dropping the implicit context that was captured in the original message.

Inherited from:
Message

The message with potential embedded tags

The message with potential embedded tags

Inherited from:
Message

Override with true for messages that should always be shown even if their position overlaps another messsage of a different class. On the other hand multiple messages of the same class with overlapping positions will lead to only a single message of that class to be issued.

Override with true for messages that should always be shown even if their position overlaps another messsage of a different class. On the other hand multiple messages of the same class with overlapping positions will lead to only a single message of that class to be issued.

Inherited from:
Message
override def toString: String
Definition Classes
Message -> Any
Inherited from:
Message

Inherited fields

Inherited from:
Message

The explanation to report. tags are filtered out

The explanation to report. tags are filtered out

Inherited from:
Message
lazy val message: String

The message to report. tags are filtered out

The message to report. tags are filtered out

Inherited from:
Message