diff options
author | amin <nada.amin@epfl.ch> | 2012-09-11 15:09:03 +0200 |
---|---|---|
committer | amin <nada.amin@epfl.ch> | 2012-09-13 21:13:30 +0200 |
commit | e498fac7fdbda3187a2a4fffcdf7fa4f9ddb7ac8 (patch) | |
tree | 869c6a61906d00833e9c1093e221f40f2681b8e3 /test/files/run/t2296b/S_2.scala | |
parent | 76d4e9a8071f9e102106696664376b7f70622582 (diff) | |
download | scala-e498fac7fdbda3187a2a4fffcdf7fa4f9ddb7ac8.tar.gz scala-e498fac7fdbda3187a2a4fffcdf7fa4f9ddb7ac8.tar.bz2 scala-e498fac7fdbda3187a2a4fffcdf7fa4f9ddb7ac8.zip |
Fix for SI-6245 with workaround for SI-2296.
protected/super accessor issue: Don't subvert the creation of the
standard protected accessor with the java interop accessor. For
SI-2296, the compiler emits an error instead of causing an illegal
access error at runtime.
Diffstat (limited to 'test/files/run/t2296b/S_2.scala')
-rw-r--r-- | test/files/run/t2296b/S_2.scala | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/files/run/t2296b/S_2.scala b/test/files/run/t2296b/S_2.scala deleted file mode 100644 index 6cdb0cfaba..0000000000 --- a/test/files/run/t2296b/S_2.scala +++ /dev/null @@ -1,18 +0,0 @@ -package s { - import j.J_1 - - trait S extends J_1 { - def bar() { - foo() - } - } - - class SC extends J_1 with S -} - -object Test { - def main(args : Array[String]) { - (new s.SC).bar() - (new s.S { }).bar() - } -} |