chore: remove old test
This commit is contained in:
parent
61259697bd
commit
cebc301c11
2 changed files with 0 additions and 20 deletions
|
|
@ -1,17 +0,0 @@
|
|||
import Lean
|
||||
|
||||
namespace Lean
|
||||
|
||||
def ex1 : CoreM Nat := do
|
||||
let env ← getEnv
|
||||
pure $ privateExt.getState env
|
||||
|
||||
#eval ex1
|
||||
|
||||
def ex2 : CoreM Nat := do
|
||||
let env ← getEnv
|
||||
pure $ { privateExt with idx := 3 }.getState env -- Error
|
||||
|
||||
-- #eval ex2
|
||||
|
||||
end Lean
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
1
|
||||
envExtensionSealed.lean:13:7-13:35: error: invalid {...} notation, source type is not of the form (C ...)
|
||||
EnvExtensionInterfaceImp.1 Nat
|
||||
Loading…
Add table
Reference in a new issue