This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1 @@
Definition foo := 3.

View file

@ -0,0 +1,3 @@
(coq.theory
(name A)
(theories B))

View file

@ -0,0 +1,3 @@
From a Require Import a.
Definition bar := a.foo.

View file

@ -0,0 +1,3 @@
(coq.theory
(name B)
(theories A))

View file

@ -0,0 +1,2 @@
(lang dune 3.2)
(using coq 0.3)

View file

@ -0,0 +1,14 @@
We check cycles are detected
$ dune build
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
3.8 and will be removed in an upcoming Dune version.
Hint: To disable this warning, add the following to your dune-project file:
(warnings (deprecated_coq_lang_lt_08 disabled))
Error: Dependency cycle between:
theory A in A/dune:2
-> theory B in B/dune:2
-> theory A in A/dune:2
-> required by _build/default/A/.A.theory.d
-> required by alias A/all
-> required by alias default
[1]