summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/implicits-base-res.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/resources/implicits-base-res.scala')
-rw-r--r--test/scaladoc/resources/implicits-base-res.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scaladoc/resources/implicits-base-res.scala b/test/scaladoc/resources/implicits-base-res.scala
index db7ca4fa51..ce86ba8918 100644
--- a/test/scaladoc/resources/implicits-base-res.scala
+++ b/test/scaladoc/resources/implicits-base-res.scala
@@ -28,6 +28,8 @@ class A[T] {
}
/** Companion object with implicit transformations */
object A {
+ import language.implicitConversions // according to SIP18
+
implicit def pimpA0[V](a: A[V]) = new PimpedA(a)
implicit def pimpA1[ZBUR: Numeric](a: A[ZBUR]) = new NumericA[ZBUR](a)
implicit def pimpA2(a: A[Int]) = new IntA(a)