rescript-association / genType

Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.

Home Page:https://rescript-lang.org/docs/gentype/latest/introduction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[dce] Combine .cmt and .cmti analysis for unused types.

cristianoc opened this issue · comments

In case of files with interfaces, report a variant as unused only when it's never constructed in the implementation nor in any use of the interface. This will require combining analysis for .cmt and .cmti files.