summaryrefslogtreecommitdiff
path: root/test/files/pos/t1263/test.scala
blob: 7ced59083a955c84afaa237eff962d82d8adb12d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package test

trait Map[A, +B] {
  def plus(key: A): MapTo = new MapTo(key)
    
  class MapTo(key: A) {
    def arrow [B1 >: B](value: B1) = null
  }
}