From 8f310dc9236e8d4bbd6b0a7945dbd662ce5b300f Mon Sep 17 00:00:00 2001 From: Anton Sviridov Date: Sat, 23 Mar 2024 12:05:13 +0000 Subject: [PATCH] huh --- modules/lsp/src/main/scala/json.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/lsp/src/main/scala/json.scala b/modules/lsp/src/main/scala/json.scala index 25fa38206..2bddb8de9 100644 --- a/modules/lsp/src/main/scala/json.scala +++ b/modules/lsp/src/main/scala/json.scala @@ -20,6 +20,8 @@ import langoustine.* import upickle.default.* import scala.util.NotGiven +// formating:off + private[lsp] object json: val valueReader = upickle.default.readwriter[ujson.Value] def badMerge[T](r1: => Reader[?], rest: Reader[?]*): Reader[T] = @@ -138,7 +140,6 @@ private[lsp] object Pickle: // if macros.isMemberOfSealedHierarchy[T] then annotate(reader, macros.fullClassName[T]) // else reader - case m: Mirror.SumOf[T] => inline compiletime.erasedValue[T] match case _: scala.reflect.Enum => @@ -151,5 +152,5 @@ private[lsp] object Pickle: .asInstanceOf[List[Reader[? <: T]]] Reader.merge[T](readers*) end match - end Pickle + end macroR end Pickle