class Solargraph::TypeChecker::Problem

A problem reported by TypeChecker.

Attributes

location[R]

@return [Solargraph::Location]

message[R]

@return [String]

pin[R]

@return [Pin::Base]

suggestion[R]

@return [String, nil]

Public Class Methods

new(location, message, pin: nil, suggestion: nil) click to toggle source

@param location [Solargraph::Location] @param message [String] @param pin [Solargraph::Pin::Base, nil] @param suggestion [String, nil]

# File lib/solargraph/type_checker/problem.rb, line 23
def initialize location, message, pin: nil, suggestion: nil
  @location = location
  @message = message
  @pin = pin
  @suggestion = suggestion
end