aboutsummaryrefslogblamecommitdiff
path: root/tests/neg/i941.scala
blob: fc29cc27dc3ab10512510b3facdf1542ca5b3a3b (plain) (tree)
1
2
3
4
5
6
7
8
9


                            
                         




                                
object Test {

  def bar(tl: => String) = {
    val x = tl _ // error
    val y = x _ // error
    val s: String = x() // error
  }

}