summaryrefslogtreecommitdiff
path: root/test/files/run/t2296b.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-03 19:18:11 -0800
committerPaul Phillips <paulp@improving.org>2012-03-04 11:42:38 -0800
commitf708b87e559a6402205c9c9d8b2b62ee324fc148 (patch)
tree234e5be5da9e9c6ff2ff8801ea1f058011bfabc3 /test/files/run/t2296b.check
parentfb87f2de763e558c8639905ea8dfb447b5212cf7 (diff)
downloadscala-f708b87e559a6402205c9c9d8b2b62ee324fc148.tar.gz
scala-f708b87e559a6402205c9c9d8b2b62ee324fc148.tar.bz2
scala-f708b87e559a6402205c9c9d8b2b62ee324fc148.zip
Overcame trait/protected/java limitation.
I think this fixes SI-2296, the inability to access java protected members from a trait which extends a java class. Counterexamples appreciated. Closes SI-2296. Review by @dragos.
Diffstat (limited to 'test/files/run/t2296b.check')
-rw-r--r--test/files/run/t2296b.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t2296b.check b/test/files/run/t2296b.check
new file mode 100644
index 0000000000..f75aec9d81
--- /dev/null
+++ b/test/files/run/t2296b.check
@@ -0,0 +1,2 @@
+J.foo()
+J.foo()