diff options
| author | Emilio Jesus Gallego Arias | 2018-11-28 02:47:20 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-11-28 02:47:20 +0100 |
| commit | df40307f70d7a03b03af7ae4360a15349abc1bd0 (patch) | |
| tree | 19f86f4660aaa697199a27cecc64e85b082d2d92 | |
| parent | b5ebc0a2aa4e73054b6085dd82211a08636c1418 (diff) | |
[coq overlay] Adapt to coq/coq#8705
Please apply when indicated.
| -rw-r--r-- | tuto1/src/simple_declare.ml | 2 | ||||
| -rw-r--r-- | tuto3/src/dune | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tuto1/src/simple_declare.ml b/tuto1/src/simple_declare.ml index 50fd170663..9d10a8ba72 100644 --- a/tuto1/src/simple_declare.ml +++ b/tuto1/src/simple_declare.ml @@ -11,7 +11,7 @@ let edeclare ident (_, poly, _ as k) ~opaque sigma udecl body tyopt imps hook = let univs = Evd.check_univ_decl ~poly sigma udecl in let ubinders = Evd.universe_binders sigma in let ce = Declare.definition_entry ?types:tyopt ~univs body in - DeclareDef.declare_definition ident k ce ubinders imps hook + DeclareDef.declare_definition ident k ce ubinders imps ~hook let packed_declare_definition ~poly ident value_with_constraints = let body, ctx = value_with_constraints in diff --git a/tuto3/src/dune b/tuto3/src/dune index 6b09d5d98b..ba6d8b288f 100644 --- a/tuto3/src/dune +++ b/tuto3/src/dune @@ -1,6 +1,7 @@ (library (name tuto3_plugin) (public_name coq.plugins.tutorial.p3) + (flags :standard -warn-error -3) (libraries coq.plugins.ltac)) (rule |
