chore: more extensive LspEncoding test
This commit is contained in:
parent
cfb5d34dd3
commit
ef34cfd513
1 changed files with 11 additions and 2 deletions
|
|
@ -2,10 +2,19 @@ import Lean.Server.FileWorker.LspEncoding
|
|||
|
||||
open Lean Server
|
||||
|
||||
structure Foo where
|
||||
structure FooRef where
|
||||
a : Array Nat
|
||||
deriving LspEncoding with { withRef := true }
|
||||
|
||||
structure FooJson where
|
||||
s : String
|
||||
deriving FromJson, ToJson
|
||||
|
||||
structure Bar where
|
||||
fooRef : WithRpcRef Foo
|
||||
fooRef : WithRpcRef FooRef
|
||||
fooJson : FooJson
|
||||
deriving LspEncoding
|
||||
|
||||
structure BarTrans where
|
||||
bar : Bar
|
||||
deriving LspEncoding
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue