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.