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
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1145,7 +1145,7 @@ object JsonCodecMaker {
1145
1145
case _ => polyRes.appliedTo(ctArgs)
1146
1146
case other => fail(s"Primary constructor for ${tpe.show} is not MethodType or PolyType but $other")
1147
1147
} elseif (sym.isTerm) Ref(sym).tpe
1148
-
else fail("Only concrete (no free type parametes) Scala classes & objects are supported for ADT leaf classes. "+
1148
+
else fail("Only concrete (no free type parameters) Scala classes & objects are supported for ADT leaf classes. "+
1149
1149
s"Please consider using of them for ADT with base '${tpe.show}' or provide a custom implicitly accessible codec for the ADT base.")
0 commit comments