aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scala/org/perl8/test/package.scala
blob: 1d3b118377e140eefb4aeab387dfd4f04546db34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.perl8

package object test {
  import language.implicitConversions

  implicit def intToPlan (p: Int): Plan =
    new NumericPlan(p)

  implicit def stringToMessage (s: String): Utils.Message =
    new Utils.HasMessage(s)

  type Plan        = Utils.Plan
  type NumericPlan = Utils.NumericPlan
  type SkipAll     = Utils.SkipAll
  val SkipAll      = Utils.SkipAll

  type BailOutException = Utils.BailOutException
}