diff options
author | Paul Phillips <paulp@improving.org> | 2009-02-12 12:53:06 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-02-12 12:53:06 +0000 |
commit | 40f7264305dc7d82d131f8f4d3a38875a879952e (patch) | |
tree | 34f522c1ed8fa23c50fc3875080a299d3c4aea21 /test/files | |
parent | bee24f7b52be4130dcffb05e0bdbc9f3b7915033 (diff) | |
download | scala-40f7264305dc7d82d131f8f4d3a38875a879952e.tar.gz scala-40f7264305dc7d82d131f8f4d3a38875a879952e.tar.bz2 scala-40f7264305dc7d82d131f8f4d3a38875a879952e.zip |
widened access check for readResolve to include...
widened access check for readResolve to include all access modifiers;
fixes bug #1385
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug1385.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/bug1385.scala b/test/files/pos/bug1385.scala new file mode 100644 index 0000000000..ec3efbbab6 --- /dev/null +++ b/test/files/pos/bug1385.scala @@ -0,0 +1,3 @@ +@serializable object Test { + private def readResolve:AnyRef = this +}
\ No newline at end of file |