diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-08-12 22:04:26 +1000 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-08-12 14:26:31 -0700 |
commit | 56e4402fc267dcd1957f0aee0c756e88ca569482 (patch) | |
tree | 9fb848898cfb4b11fb9a9fb595a523c10a5e57c3 /test/files/pos/t2377b/Q.java | |
parent | 708dd680b3e28c6344c3f45c2aea09cf1d3b5908 (diff) | |
download | scala-56e4402fc267dcd1957f0aee0c756e88ca569482.tar.gz scala-56e4402fc267dcd1957f0aee0c756e88ca569482.tar.bz2 scala-56e4402fc267dcd1957f0aee0c756e88ca569482.zip |
Java joint compilation: tweak static lookup impl
Diffstat (limited to 'test/files/pos/t2377b/Q.java')
-rw-r--r-- | test/files/pos/t2377b/Q.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/pos/t2377b/Q.java b/test/files/pos/t2377b/Q.java index 1dfdd5991d..fbf9c776e9 100644 --- a/test/files/pos/t2377b/Q.java +++ b/test/files/pos/t2377b/Q.java @@ -3,8 +3,11 @@ public class Q { public static class Builder {} public static class Inner { - public static class Builder {} + public static class Builder { public void innerMethod() {} } public Builder foo() { return new Builder(); } // this line gives an error, that Builder is ambiguous + + public Inner.Builder viaSelect() { return new Builder(); } // this line gives an error, that Builder is ambiguous } } + |