Kakadu / zanuda

OCaml linter
GNU Lesser General Public License v3.0
63 stars 8 forks source link

exc_error_swallowing lint: check for identifier that never used #52

Open Kakadu opened 3 months ago

Kakadu commented 3 months ago

From https://github.com/semgrep/semgrep/issues/10193

The following should be reported.

let bar =
  try 1 with | e -> 2