package ppx_fail

  1. Overview
  2. Docs
Add location to calls to failwiths

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fail-v0.9.0.tar.gz
md5=436000f014f0c1d27f71583c1cb8cc73

Description

Part of the Jane Street's PPX rewriters collection.

Published: 22 Mar 2017

README

title: ppx_fail parent: ../README.md

Syntax extension that makes [failwiths] always include a position.

Rewrites failwiths into failwiths ~here:[%here]. This is useful to have a position for an exception even if the backtrace got lost somehow.

Dependencies (7)

  1. ocaml-migrate-parsetree >= "0.4" & < "2.0.0"
  2. ppx_metaquot >= "v0.9" & < "v0.10"
  3. ppx_here >= "v0.9" & < "v0.10"
  4. ppx_driver >= "v0.9" & < "v0.10"
  5. ppx_core >= "v0.9" & < "v0.10"
  6. jbuilder >= "1.0+beta4"
  7. ocaml >= "4.03.0"

Dev Dependencies

None

Used by (1)

  1. ppx_jane = "v0.9.0"

Conflicts

None