Reach.Check.Changed.StrictnessDowngrade (Reach v2.8.1)

Copy Markdown View Source

Describes a changed-code erosion from strict to lenient map access.

Summary

Types

kind()

@type kind() :: :field_to_get | :fetch_to_get | :pattern_to_get

t()

@type t() :: %Reach.Check.Changed.StrictnessDowngrade{
  arity: non_neg_integer(),
  confidence: :high,
  file: Path.t(),
  function: atom(),
  key: atom(),
  kind: kind(),
  malformed_callers: [map()],
  message: String.t(),
  module: String.t(),
  new_line: pos_integer(),
  old_line: pos_integer(),
  parameter_index: non_neg_integer() | nil,
  suggestion: String.t(),
  variable: atom() | nil
}

Functions

new(attrs)