Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Oct 21, 2023
1 parent c547fcb commit 77824c8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions quill-engine/src/main/scala/io/getquill/MirrorIdiom.scala
Original file line number Diff line number Diff line change
Expand Up @@ -150,21 +150,21 @@ trait MirrorIdiomBase extends Idiom {
stmt"${a.token}.nested"
}

private final val `Org.asc`: Statement = stmt"Ord.asc"
private final val `Org.desc`: Statement = stmt"Ord.desc"
private final val `Org.ascNullsFirst`: Statement = stmt"Ord.ascNullsFirst"
private final val `Org.descNullsFirst`: Statement = stmt"Ord.descNullsFirst"
private final val `Org.ascNullsLast`: Statement = stmt"Ord.ascNullsLast"
private final val `Org.descNullsLast`: Statement = stmt"Ord.descNullsLast"
private final val `Ord.asc`: Statement = stmt"Ord.asc"
private final val `Ord.desc`: Statement = stmt"Ord.desc"
private final val `Ord.ascNullsFirst`: Statement = stmt"Ord.ascNullsFirst"
private final val `Ord.descNullsFirst`: Statement = stmt"Ord.descNullsFirst"
private final val `Ord.ascNullsLast`: Statement = stmt"Ord.ascNullsLast"
private final val `Ord.descNullsLast`: Statement = stmt"Ord.descNullsLast"

implicit final val orderingTokenizer: Tokenizer[Ordering] = Tokenizer[Ordering] {
case TupleOrdering(elems) => stmt"Ord(${elems.token})"
case Asc => `Org.asc`
case Desc => `Org.desc`
case AscNullsFirst => `Org.ascNullsFirst`
case DescNullsFirst => `Org.descNullsFirst`
case AscNullsLast => `Org.ascNullsLast`
case DescNullsLast => `Org.descNullsLast`
case Asc => `Ord.asc`
case Desc => `Ord.desc`
case AscNullsFirst => `Ord.ascNullsFirst`
case DescNullsFirst => `Ord.descNullsFirst`
case AscNullsLast => `Ord.ascNullsLast`
case DescNullsLast => `Ord.descNullsLast`
}

private final val None: Statement = stmt"None"
Expand Down

0 comments on commit 77824c8

Please sign in to comment.