Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab_fail
/
classBadOutParam.lean
blob: 37f7ce3f2292ff66d63f2fa4d289ee3af1b5e892 [
file
]
class
C1
(
x
:
outParam
Nat
)
(
y
:
{
n
:
Nat
// n > x }) (α : Type) where -- should fail
(
val
:
α)
class
C2
(
x
:
outParam
Nat
)
(
y
:
outParam
{
n
:
Nat
// n > x }) (α : Type) where -- should work
(
val
:
α)