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.

Constructor

new(location:Location, message:String)

Creates a new related diagnostic information object.

Parameters:

location

The location.

message

The message.

Variables

location:Location

The location of this related diagnostic information.

message:String

The message of this related diagnostic information.