summaryrefslogtreecommitdiff
path: root/test/files/pos/t2545.scala
blob: b4238fb718349c2679f52b9115c1f019582d7093 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
trait Frog[T] {
      def hello: T 
      def size: Int                                                                                                                                                          
    }

    trait OnlyWithFrogs {
      self: Frog[_] =>

        def sizeStr = size.toString
    }