DiagnosticRelatedInformation

case class DiagnosticRelatedInformation(location: Location, message: String)

Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.

Value parameters:
location

The location of this related diagnostic information.

message

The message of this related diagnostic information.

Companion:
object
Source:
structures.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product