blob: f1b48b0113844c406c6cc39ba92877312f244093 (
plain) (
tree)
|
|
object Test {
inline def foo(f: ImplicitFunction1[Int, Int]): AnyRef = f // error
inline def bar(f: ImplicitFunction1[Int, Int]) = f // error
def main(args: Array[String]) = {
foo(implicit thisTransaction => 43)
bar(implicit thisTransaction => 44)
}
}
|