lean4-htt/tests/lean/record_rec_protected.lean
2017-03-09 18:41:19 -08:00

8 lines
122 B
Text

--
structure point (A : Type) (B : Type) :=
mk :: (x : A) (y : B)
open point
#check rec -- error, rec is protected