aboutsummaryrefslogtreecommitdiff
path: root/tests/pickling
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-04-07 22:52:34 +0200
committerMartin Odersky <odersky@gmail.com>2016-04-07 22:52:41 +0200
commit88eb98ffc91f2954eb0ed305d19d46845f35ab33 (patch)
tree07dc45f4327aaf91e72ee50bd6360a86805d8321 /tests/pickling
parent29e5792ad7ea1209f0141000449649e8cb943b65 (diff)
downloaddotty-88eb98ffc91f2954eb0ed305d19d46845f35ab33.tar.gz
dotty-88eb98ffc91f2954eb0ed305d19d46845f35ab33.tar.bz2
dotty-88eb98ffc91f2954eb0ed305d19d46845f35ab33.zip
Fix flags when unpickling setters of parameter accessors
ParamAccessor is not a pickled flag. This is not a problem for normal parameter accessors which are pickled as PARAM fields. But setters of parameter accessors also need to have the flag set (and Deferred reset).
Diffstat (limited to 'tests/pickling')
-rw-r--r--tests/pickling/i1202c.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pickling/i1202c.scala b/tests/pickling/i1202c.scala
new file mode 100644
index 000000000..dde1f3aa6
--- /dev/null
+++ b/tests/pickling/i1202c.scala
@@ -0,0 +1 @@
+class Fail7(var in: Int)