Skip to content

v2.21.0

Compare
Choose a tag to compare
@cristianoc cristianoc released this 25 May 14:06
· 75 commits to master since this release
  • Add support for [@warning "-unused-value-declaration"].
  • Don't report on dead values inside a function annotated @dead.
  • Fix issue with punned record expressions in OCaml projects.
  • Add command-line -config to read configuration settings under "reanalyze" in bsconfig.json.
    Example:
{
  "reanalyze": {
    "analysis": ["dce", "exception"],
    "suppress": ["src/ToSuppress.res"],
    "unsuppress": ["this", "that"]
  }
}
  • Allow lists and arrays as payloads e.g. for @raises([A,B]).
  • Improve printing of exception annotations in error messages.
  • Fix issue where the current file would be mistakenly reported dead and with empty name, when it contains an inner module which is dead and a toplevel exception.