Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How to successfully use `reanalyze`?

$
0
0

@fham

With version 12.2.0-rc.1 the warning in the compilation is gone. Good.

However, it still shows DCE warnings for files under test and src/libs; which I have in the suppress list:

    "reanalyze": {
      "analysis": ["dce", "exception"],
      "suppress": ["test", "src/libs"]
    }

Example:

  Warning Dead Type
  /home/manu/src/kaiko/frontend-reanalyze/src/libs/webapi/MediaTrackConstraints.res:20:3-32
  t.groupId is a record label never used to read a value

This is merely the bindings of the type; so I rather leave it complete, so that the application could use it if needed.


Viewing all articles
Browse latest Browse all 2592

Trending Articles