Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/kernel-strlit-bytes
/
.
/
tests
/
elab
/
3091.lean
blob: 621f14bad26a752eb0287bf49c5ac38119327055 [
file
] [
edit
]
import
Lean
open
Lean
def
foo
.{
u
}
:
Nat
:=
(
ULift
.
up
.{
u
}
Nat
.
zero
).
down
universe u
in
#eval foo.{u}
--
this
used to produce an error
#eval do
let
u
:
Lean
.
Level
:=
.
param
`u
Meta.evalExpr Nat (.const ``Nat []) (.const ``foo [u])