You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jsoniter-scala-macros/shared/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMaker.scala
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1540,9 +1540,6 @@ object JsonCodecMaker {
1540
1540
elseif (tpe.termSymbol.flags.is(Flags.Enum)) {
1541
1541
tpe match
1542
1542
caseTermRef(_, name) => name
1543
-
caseTypeRef(_, name) => name
1544
-
caseAppliedType(TermRef(_, name), _) => name
1545
-
caseAppliedType(TypeRef(_, name), _) => name
1546
1543
case _ => fail(s"Unsupported enum type: '${tpe.show}', tree=$tpe")
Copy file name to clipboardExpand all lines: jsoniter-scala-macros/shared/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerNewKeywordSpec.scala
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -114,10 +114,10 @@ class JsonCodecMakerNewKeywordSpec extends VerifyingSpec {
0 commit comments