From 9664fc88e047acbe63172c56479cdbc9b176df57 Mon Sep 17 00:00:00 2001 From: Wojciech Nawrocki Date: Tue, 20 Jul 2021 21:30:27 -0700 Subject: [PATCH] chore: add test --- tests/lean/run/derivingLspEncoding.lean | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/lean/run/derivingLspEncoding.lean diff --git a/tests/lean/run/derivingLspEncoding.lean b/tests/lean/run/derivingLspEncoding.lean new file mode 100644 index 0000000000..741e430681 --- /dev/null +++ b/tests/lean/run/derivingLspEncoding.lean @@ -0,0 +1,11 @@ +import Lean.Server.FileWorker.LspEncoding + +open Lean Server + +structure Foo where + a : Array Nat + deriving LspEncoding with { withRef := true } + +structure Bar where + fooRef : WithRpcRef Foo + deriving LspEncoding