Skip to content

Commit

Permalink
small renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkosecki committed Apr 15, 2021
1 parent c5779f8 commit 8e86ae7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ object JsonParser {
annots: Option[List[String]] = None
) extends JsonExpression {
private def reformatPairListsAsNestedPairs(expr: JsonExpression): JsonExpression = expr match {
case xx @ JsonType("pair", Some(_ :: _ :: Nil), _) =>
xx
case expr @ JsonType("pair", Some(_ :: _ :: Nil), _) =>
expr
case JsonType("pair", Some(x :: y :: xs), annots) =>
JsonType(
"pair",
Expand All @@ -88,7 +88,7 @@ object JsonParser {
),
annots
)
case x => x
case idExpr => idExpr
}

override def toMichelsonExpression =
Expand Down

0 comments on commit 8e86ae7

Please sign in to comment.