package ppx_disable_unused_warnings
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Expands [@disable_unused_warnings] into [@warning "-20-26-32-33-34-35-36-37-38-39-60-66-67"]
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppx_disable_unused_warnings-v0.15.0.tar.gz
sha256=aeab318cb7541f9b22da50268492ff9d161ece9003ed5b1977917da346f6eebe
Description
Part of the Jane Street's PPX rewriters collection.
Published: 21 Mar 2022
README
ppx_disable_unused_warnings
The @disable_unused_warnings annotation disables the many OCaml compiler warnings having to do with something being used (variable, constructor, declaration, open, rec keyword, etc.). It can be used at all three annotation scopes:
[@@@disable_unused_warnings][@@disable_unused_warnings][@disable_unused_warnings]
As of OCaml 4.10, it translates [@disable_unused_warnings] to:
[@@@warning "-26-27-32-33-34-35-36-37-38-39-60-66-67]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page