- 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.