We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17bd00d commit 5a8aa50Copy full SHA for 5a8aa50
tests/run-macros/i17105/Test_2.scala
@@ -1,3 +1,5 @@
1
@main def Test: Unit =
2
println("case single: " + testExpr { def f(x: String) = "placeholder" + x; f("1st") + " outside" })
3
println("case curried: " + testExpr { def f(x: String)(y: String) = "placeholder" + x; f("1st")("2nd") + " outside" })
4
+ def outer() = "outside-method"
5
+ println("case methods from outer scope " + testExpr { def f(x: String) = "placeholder" + x; f("1st") + outer() })
0 commit comments