Releases: rescript-lang/reanalyze
Releases · rescript-lang/reanalyze
v2.13.0
- Don't report on module bindings coming from the type of first-class modules (see #107).
- Fix issue where
emptyArray
was reported unused for lowercase components without children. (See #85).
v2.12.0
- Support OCaml 4.11 and 4.12.
v2.11.0
- Exception Analysis: add basic support for module aliases (e.g.
module Array = Belt.Array
).
v2.10.0
- Exception analysis: add support for inner modules.
- Exception analysis: correctly hide location of caught exceptions when other instances of the same exception are reported.
- Exception analysis: report on toplevel bindings of the form
let () = ...
and let _ = ...
.
v2.9.0
- Model
exit(...)
as raising a fictional exception called exit
.
- Fix wording of error message for redundant exception annotation when the function raises nothing.
v2.7.0
- Fix
-live-paths
in bucklescript projects where absolute paths are used internally.
- Add command-line option
-exclude-paths
.
- Work around issue where
unsafe-expr
, generated by buklescript, was reported dead.
v2.6.0
- In
-debug
mode, print Sourcefile:path/to/File.re
for each .cmt
loaded. This can be used to decide the current directory to call renanalyze
from in dune
projects.
v2.5.0
- Turn on the checks for unused optional arguments, and dead module, in dce. No need for the
-experimental
flag anymore.
v2.3.0
- DCE: add check Warning Redundant Optional Argument (active when
-experimental
is used) when an optional named argument is always supplied, on each call to the function. Then there is no reason for it to be an optional argument.