diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-03 13:52:48 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-17 18:34:27 +0100 |
commit | ad7edc7bd8af963b768afdc50b7038a8daa47ccb (patch) | |
tree | c4f437115a3e898f854a9977a7c4b1cf1c1bf19b /tests/pos | |
parent | fd2c24c3159cefa583889a176f31d1e2325fe7e6 (diff) | |
download | dotty-ad7edc7bd8af963b768afdc50b7038a8daa47ccb.tar.gz dotty-ad7edc7bd8af963b768afdc50b7038a8daa47ccb.tar.bz2 dotty-ad7edc7bd8af963b768afdc50b7038a8daa47ccb.zip |
Always insert apply for expressions of implicit function type
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/implicitFuns.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/implicitFuns.scala b/tests/pos/implicitFuns.scala index e62682546..edb2434c9 100644 --- a/tests/pos/implicitFuns.scala +++ b/tests/pos/implicitFuns.scala @@ -19,10 +19,16 @@ object Test2 { 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 |