summaryrefslogtreecommitdiff
path: root/tests/lean/Demo
diff options
context:
space:
mode:
authorSon HO2024-06-18 08:33:09 +0200
committerGitHub2024-06-18 08:33:09 +0200
commit43a9fb0fa5a1c03a7cce575a052f0d4201189d1d (patch)
treec967637249ea1c9001983e09e1f04f17b8e0a1d4 /tests/lean/Demo
parent76ab141814644a94bffc8497e5845436d86b1083 (diff)
parent878be6d051f2f920fdc6c90add8423fa6f489492 (diff)
Merge pull request #246 from AeneasVerif/son/cleanup
Do some cleanup in the test files and the Lean backend
Diffstat (limited to '')
-rw-r--r--tests/lean/Demo/Demo.lean4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lean/Demo/Demo.lean b/tests/lean/Demo/Demo.lean
index 48ac2062..a557cf73 100644
--- a/tests/lean/Demo/Demo.lean
+++ b/tests/lean/Demo/Demo.lean
@@ -2,6 +2,9 @@
-- [demo]
import Base
open Primitives
+set_option linter.dupNamespace false
+set_option linter.hashCommand false
+set_option linter.unusedVariables false
namespace demo
@@ -112,6 +115,7 @@ divergent def list_nth_mut1_loop
/- [demo::list_nth_mut1]:
Source: 'tests/src/demo.rs', lines 71:0-71:77 -/
+@[reducible]
def list_nth_mut1
(T : Type) (l : CList T) (i : U32) :
Result (T × (T → Result (CList T)))