summaryrefslogtreecommitdiff
path: root/test/files/pos/t2698.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2698.scala')
-rw-r--r--test/files/pos/t2698.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t2698.scala b/test/files/pos/t2698.scala
new file mode 100644
index 0000000000..bce02e48b3
--- /dev/null
+++ b/test/files/pos/t2698.scala
@@ -0,0 +1,14 @@
+class WordExp {
+ abstract class Label
+ type _labelT <: Label
+}
+
+import scala.collection._
+
+abstract class S2 {
+ val lang: WordExp
+ type __labelT = lang._labelT
+
+ var deltaq: Array[__labelT] = _
+ def delta1 = immutable.Map(deltaq.zipWithIndex: _*)
+}