diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-29 11:39:04 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-30 09:58:23 +0200 |
commit | defb1465909c3f740871a56973c32b276f775b91 (patch) | |
tree | f31ae4c9fdb189302788fa31e61919d5b298128d /test/files/neg/t6666d.check | |
parent | 512d19387da86ce95d7edd1742bf03287cf68a39 (diff) | |
download | scala-defb1465909c3f740871a56973c32b276f775b91.tar.gz scala-defb1465909c3f740871a56973c32b276f775b91.tar.bz2 scala-defb1465909c3f740871a56973c32b276f775b91.zip |
SI-9375 add synthetic readResolve only for static modules
For inner modules, the synthetic readResolve method would cause the
module constructor to be invoked on de-serialization in certain
situations. See the discussion in the ticket.
Adds a comprehensive test around serializing and de-serializing
modules.
Diffstat (limited to 'test/files/neg/t6666d.check')
-rw-r--r-- | test/files/neg/t6666d.check | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/files/neg/t6666d.check b/test/files/neg/t6666d.check deleted file mode 100644 index b4785f0129..0000000000 --- a/test/files/neg/t6666d.check +++ /dev/null @@ -1,4 +0,0 @@ -t6666d.scala:7: error: Implementation restriction: access of object TreeOrd$1 from object TreeOrd$2, would require illegal premature access to the unconstructed `this` of class Test - implicit object TreeOrd extends Ordering[K](){ - ^ -one error found |