Skip to content

Commit ee67559

Browse files
committed
fix deprecations in Coq and OCaml
1 parent f199832 commit ee67559

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
OCAMLBUILD = ocamlbuild -tag safe_string -libs unix -I shims
1+
OCAMLBUILD = ocamlbuild -tag safe_string -pkg unix -I shims
22

33
default: Makefile.coq
44
$(MAKE) -f Makefile.coq

_CoqProject

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
-arg -w -arg -projection-no-head-constant
77
-arg -w -arg -duplicate-clear
88
-arg -w -arg -notation-incompatible-format
9-
-arg -w -arg -deprecated-hint-without-locality
109

1110
theories/Core/State.v
1211
theories/Core/Freshness.v

theories/Core/HoareTriples.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Unset Printing Implicit Defensive.
1212
Structure prog (W : world) A (this : nid) :=
1313
Prog {
1414
set_of : proc this W A -> Prop;
15-
(* Unifinshed is a bottom element that should be present *)
15+
(* Unfinished is a bottom element that should be present *)
1616
_ : set_of Unfinished
1717
}.
1818

@@ -441,7 +441,7 @@ Lemma conseq_refl (W : world) A this (e : DT this W A) :
441441
conseq e (spec_of e).
442442
Proof. by case: e; case=>p q [T H i] /= Hp C t; apply: H. Qed.
443443

444-
Hint Resolve conseq_refl : core.
444+
#[export] Hint Resolve conseq_refl : core.
445445

446446

447447
(* Weakening the specifications *)

theories/Core/dune

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
-w -local-declaration
99
-w -duplicate-clear
1010
-w -redundant-canonical-projection
11-
-w -projection-no-head-constant
12-
-w -deprecated-hint-without-locality))
11+
-w -projection-no-head-constant))

0 commit comments

Comments
 (0)