blob: 7469f64a46ba9e82605a94d82fb5e813a8e8f7b2 [file]
module
public import Lean
/-!
Producer half of a regression test: a `partial` definition of type `False`, added directly through
`addDecl`. Since the module is not `@[expose]`d, the definition is exported as an axiom stub, which
must stay marked unsafe.
-/
open Lean
public section
run_meta do
let name := `partialFalse
addDecl (.mutualDefnDecl [{
name
levelParams := []
type := mkConst ``False
value := mkConst name
hints := .opaque
safety := .partial
}])
end