diff options
Diffstat (limited to 'test/pos/modules1.scala')
-rw-r--r-- | test/pos/modules1.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pos/modules1.scala b/test/pos/modules1.scala index 71c4bf8bd4..3da14af4fe 100644 --- a/test/pos/modules1.scala +++ b/test/pos/modules1.scala @@ -1,14 +1,14 @@ package scala { - module a { + object a { - module b { + object b { trait c {} def foo(x: c): c = bar(x) } - def bar(x: b.c): a.b.c = x + def bar(x: b.c): a.b.c = { b.foo(x); x } } } |