aboutsummaryrefslogtreecommitdiff
path: root/tests/tasty/i982.scala
diff options
context:
space:
mode:
authorVladimirNik <vladimir.nikolaev9@gmail.com>2015-11-27 15:24:13 +0100
committerVladimirNik <vladimir.nikolaev9@gmail.com>2015-11-27 18:27:28 +0100
commit317ca3e4d45dfe31f50f87f60194ce2506c86fa8 (patch)
treea86776441761fc1a1192463eef3417ecf444286a /tests/tasty/i982.scala
parent2bb73c3bf1a6fef8bd77d762c99d02d499621ea3 (diff)
downloaddotty-317ca3e4d45dfe31f50f87f60194ce2506c86fa8.tar.gz
dotty-317ca3e4d45dfe31f50f87f60194ce2506c86fa8.tar.bz2
dotty-317ca3e4d45dfe31f50f87f60194ce2506c86fa8.zip
Add pickling/unpickling of stable modifier
Pickling/unpickling of STABLE modifier allows to fix problem with unpickling of path-dependent types (#982)
Diffstat (limited to 'tests/tasty/i982.scala')
-rw-r--r--tests/tasty/i982.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tasty/i982.scala b/tests/tasty/i982.scala
new file mode 100644
index 000000000..838b250d9
--- /dev/null
+++ b/tests/tasty/i982.scala
@@ -0,0 +1,8 @@
+trait Z {
+ type Q
+ def test: Q
+}
+class X(val x: Z)
+class Y(x: Z) extends X(x) {
+ x.test
+}