aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2698.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t2698.scala')
-rw-r--r--tests/pos/t2698.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pos/t2698.scala b/tests/pos/t2698.scala
new file mode 100644
index 000000000..bce02e48b
--- /dev/null
+++ b/tests/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: _*)
+}