Skip to content

Commit

Permalink
Replaced remaining with
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 23, 2025
1 parent 427e411 commit 03da3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/jacinta.Json.scala
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ trait Json2:
variant(value): [VariantType <: DerivationType] =>
value =>
Json.ast:
(context.encode(value).root.asMatchable: @unchecked) match
context.encode(value).root.asMatchable.runtimeChecked match
case (labels, values) => labels.asMatchable.runtimeChecked match
case labels: IArray[String] => values.asMatchable.runtimeChecked match
case values: IArray[JsonAst] =>
Expand Down

0 comments on commit 03da3c7

Please sign in to comment.