summaryrefslogtreecommitdiff
path: root/test/files/pos/t0165.scala
blob: 05c4a1c77afb3e3ad00afedc2595c4fd2207c89d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package test3
import scala.collection.jcl.LinkedHashMap

trait Main {
  def asMany : ArrayResult = {
    object result extends LinkedHashMap[String,String] with ArrayResult {
      def current = result
    }
    result
  }
  trait ArrayResult {
    def current : scala.collection.Map[String,String]
  }
}