diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-10-31 08:10:59 -0700 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-10-31 08:10:59 -0700 |
commit | bf7e234d4964af2e3d95e149edccc66f4dc25b9e (patch) | |
tree | b13d38682676a7e76532b1c2c38c2b3103e51586 /test/files | |
parent | ae0171321b94c42a36d0987503450ce2657fd516 (diff) | |
parent | 0527b2549bcada2fda2201daa630369b377d0877 (diff) | |
download | scala-bf7e234d4964af2e3d95e149edccc66f4dc25b9e.tar.gz scala-bf7e234d4964af2e3d95e149edccc66f4dc25b9e.tar.bz2 scala-bf7e234d4964af2e3d95e149edccc66f4dc25b9e.zip |
Merge pull request #1532 from hubertp/2.10.0-wip-issue/5031
Fixes SI-5031 for separate compilation scenario.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t5031_3/Foo_1.scala | 5 | ||||
-rw-r--r-- | test/files/pos/t5031_3/Main_2.scala | 6 | ||||
-rw-r--r-- | test/files/pos/t5031_3/package.scala | 6 |
3 files changed, 17 insertions, 0 deletions
diff --git a/test/files/pos/t5031_3/Foo_1.scala b/test/files/pos/t5031_3/Foo_1.scala new file mode 100644 index 0000000000..5934a6ba79 --- /dev/null +++ b/test/files/pos/t5031_3/Foo_1.scala @@ -0,0 +1,5 @@ +package foo.bar + +object Foo { + def bar = 42 +} diff --git a/test/files/pos/t5031_3/Main_2.scala b/test/files/pos/t5031_3/Main_2.scala new file mode 100644 index 0000000000..2079460b83 --- /dev/null +++ b/test/files/pos/t5031_3/Main_2.scala @@ -0,0 +1,6 @@ +package org.example + +object Main extends App { + println(foo.bar.Foo.bar) +} + diff --git a/test/files/pos/t5031_3/package.scala b/test/files/pos/t5031_3/package.scala new file mode 100644 index 0000000000..23fede7d04 --- /dev/null +++ b/test/files/pos/t5031_3/package.scala @@ -0,0 +1,6 @@ +package foo + +package object bar { + type Foo = Int => String +} + |