summaryrefslogtreecommitdiff
path: root/test/files/pos/dotless-targs.scala
blob: 8337352d18e789f3efeb0d0a683c669568791955 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
class A {
  def fn1 = List apply 1
  def fn2 = List apply[Int] 2

  def f1 = "f1" isInstanceOf[String]

  def g1 = "g1" toList
  def g2 = "g2" toList 2
  def g3 = "g3" apply 3

  def h1 = List apply[List[Int]] (List(1), List(2)) mapConserve[List[Any]] (x => x)
}