blob: 67922dfec0ddfc5e5b35274857fea49332ae13d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package test
import scala.Predef.DummyImplicit // turn off other predef implicits for a cleaner .check file.
object O {
def map(x: Int => Int)(implicit a: DummyImplicit): O.type = this
val prefix123 : Int = 0
}
class Foo {
O.map(x => x)./*!*/ // we want the presentation compiler to apply the implicit argument list.
}
|