aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/implicitFuns.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/implicitFuns.scala')
-rw-r--r--tests/pos/implicitFuns.scala36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/pos/implicitFuns.scala b/tests/pos/implicitFuns.scala
deleted file mode 100644
index edb2434c9..000000000
--- a/tests/pos/implicitFuns.scala
+++ /dev/null
@@ -1,36 +0,0 @@
-object Test {
-
- val x: ImplicitFunction1[String, Boolean] = ???
-
- val y: String => Boolean = x
-
- val b = x("hello")
-
- val b1: Boolean = b
-
-}
-object Test2 {
-
- val x: implicit String => Boolean = ???
-
- val xx: implicit (String, Int) => Int = ???
-
- val y: String => Boolean = x
-
- val yy: (String, Int) => Any = xx
-
- implicit val world: String = "world!"
-
- val b = x("hello")
-
- val b1: Boolean = b
-
- val bi = x
-
- val bi1: Boolean = bi
-
- val c = xx("hh", 22)
-
- val c1: Int = c
-
-}