aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t0165.scala
blob: 76aef852401730c0d377a475dcbf5f77d5455700 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                         
package test3
import scala.collection.mutable.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]
  }
}