We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9db9ee commit a8a9f3aCopy full SHA for a8a9f3a
jsoniter-scala-macros/shared/src/main/scala-3/JsonCodeMaker.scala
@@ -481,6 +481,8 @@ object JsonCodecMaker {
481
try {
482
make[A](cfg)
483
} catch {
484
+ case ex: scala.quoted.runtime.StopMacroExpansion =>
485
+ throw ex
486
case NonFatal(ex) =>
487
println(s"catched exception during macro expansion: $ex: msg=${ex.getMessage}")
488
ex.printStackTrace()
@@ -2963,7 +2965,7 @@ object JsonCodecMaker {
2963
2965
2964
2966
}
2967
-
2968
+
2969
val needDefs: List[Statement] = (decodeMethodDefs.values.toList: List[Statement]) ++
2970
(encodeMethodDefs.values.toList: List[Statement]) ++
2971
(fieldIndexAccessors.values.toList: List[Statement]) ++
0 commit comments