aboutsummaryrefslogtreecommitdiff
path: root/tests/pickling/annot.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pickling/annot.scala')
-rw-r--r--tests/pickling/annot.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pickling/annot.scala b/tests/pickling/annot.scala
new file mode 100644
index 000000000..d20a6cbf4
--- /dev/null
+++ b/tests/pickling/annot.scala
@@ -0,0 +1,12 @@
+trait Type
+class RefinedType extends Type
+
+
+object TestAnnot {
+ def toText(tp: Type) = tp match {
+ case tp: RefinedType =>
+ val parent :: (refined: List[RefinedType @unchecked]) = ???
+ ???
+ }
+ val xs: List[RefinedType @unchecked] = ???
+}