aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t2545.scala
blob: 6ad994223c499b3649c2b137b8f96df51c5b8253 (plain) (tree)
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
    }