Comments (8)
I think we just demonstrated that the mechanism is not intuitive and I’ve probably forgotten how it works.
So -live-path it is.
from reanalyze.
Can this done with the current Whitelist=???
mechanism, which operates at the level of file paths?
from reanalyze.
That mechanism should also be moved out of env variable and into command-line space.
from reanalyze.
Wrong one closed automatically.
from reanalyze.
Maybe I'm confused, but I interpreted Whitelist
as suppressing reports on a particular path, rather than marking everything in it as live. That is, all the code that is not in the exposed api but only reachable through it should also be considered live.
from reanalyze.
I have tried Whitelist=path/to/api.mli reanalyze ...
and got
Warning Dead Value
File "path/to/api.mli", ...
User error?
from reanalyze.
Done here: #23
from reanalyze.
Looks good, thanks!
from reanalyze.
Related Issues (20)
- Binding operators are incorrectly marked dead HOT 1
- Use single dead annotation if entire module is unused
- Awkward record field dead attribute placement with unusual record formatting HOT 3
- Re-exported variant is incorrectly marked dead HOT 1
- Interpret OCaml compiler's unused value declaration warning suppression attribute HOT 1
- Confusing dead code warning at module include HOT 1
- When a function is annotated `@dead` values inside it are reported dead. HOT 10
- Module incorrectly marked dead when contains non-dead type and submodule definitions HOT 1
- @dead annotation breaks rescript compiler on a destructured value HOT 3
- decorating functions in pipe chains? HOT 4
- Dead Types wrt consumed types HOT 7
- False alarms for native projects that generate new files HOT 9
- [Feature Request] Support `globs` for `suppress` and `unsuppress`.
- [Feature request] Integrate with `@deriving({abstract: light})` HOT 13
- Interface of sub module are not seen used HOT 3
- -write produces syntax error in OCaml w.r.t. destructive substitution on module-items and tuple pattern-matching HOT 4
- Catching on exception from other module leads to incorrect warning HOT 3
- Include Darwin arm64 builds in the NPM package HOT 5
- False Positive When Using First Class Module Type Alias
- OCaml 5.2 support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reanalyze.