Releases: rescript-lang/reanalyze
Releases · rescript-lang/reanalyze
v2.2.0
- Fix issue in experimental analysis for unused optional named arguments where
foo(~x=?)
was not recognized.
v2.1.0
- Add -experimental command-line to turn on experimental analyses.
- New analysis for unused optional named arguments, under the
-experimental
flag. - New analysis for dead modules, under the
-experimental
flag.
v1.16.0
v1.15.0
v1.14.0
- CLI: rename
-blacklist
to-suppress
and-whitelist
to-unsuppress
. This should clarify the semantics. - When a generic exception is raised, as in
raise(exn)
report as if a specific exception of
namegenericException
were raised. Can be suppressed just like real exceptions. - Add new check for dead exceptions: that is exceptions defined but never raised directly or indirectly. An indirect raise (undecidable) is approximated by checking if the value is passed around in any way.
v1.13.0
v1.12.0
v1.11.0
-
Add command-line options
-blacklist
and-whitelist
that apply to all the analyses.
Example:../reanalyze.exe -exception -blacklist src -whitelist src/Ex
will only show results for filessrc/Ex*
.
The analyses are not affected (e.g. transitively dead code), only the reporting is. -
Exception analysis: add support for
@doesNotRaise
to indicate that an expression does not raise any exceptions (to suppress possible analysis reports). -
Exception Analysis: add model for
Yojson.Basic.from_string
.