Skip to content

Commit

Permalink
update tests to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
i10416 committed Jul 2, 2023
1 parent 5a2bddb commit c94dca9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ package object expr {

private[expr] type RawEnumerableNode[F <: CronField] =
ConstNode[F] | BetweenNode[F]
extension [F<:CronField](t: RawEnumerableNode[F]) {
def select[T]: Option[T] = t match
case t: T => Some(t)
case _ => None
}

private[expr] type RawDivisibleNode[F <: CronField] =
EachNode[F] | BetweenNode[F] | SeveralNode[F]
Expand Down

0 comments on commit c94dca9

Please sign in to comment.