fix Statement inside a namespace

This commit is contained in:
Jon Eugster
2023-05-26 17:10:10 +02:00
parent 2c2c6a0c5e
commit 73ca0f4d95
2 changed files with 25 additions and 7 deletions
+11
View File
@@ -14,6 +14,17 @@ Statement foo.bar "some text" : 5 ≤ 7 := by
NewLemma foo.baz
DisabledTactic tauto
/- Namespace -/
-- test that the command also works inside a namespace
namespace myNamespace
Statement anotherStatement "test" (n : Nat) : n + 0 = n := by
rfl
end myNamespace
/- Other tests -/
LemmaDoc add_zero as "add_zero" in "Nat" "(nothing)"