summaryrefslogtreecommitdiff
path: root/test/files/pos/modules1.scala
blob: 71c4bf8bd4c9debbcd27259e6a8165d99e617bf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package scala {

  module a {

    module b {

      trait c {}
      def foo(x: c): c = bar(x)

    }

    def bar(x: b.c): a.b.c = x
  }
}