From 40f7264305dc7d82d131f8f4d3a38875a879952e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 12 Feb 2009 12:53:06 +0000 Subject: widened access check for readResolve to include... widened access check for readResolve to include all access modifiers; fixes bug #1385 --- test/files/pos/bug1385.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/pos/bug1385.scala (limited to 'test') 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 -- cgit v1.2.3