diff options
Diffstat (limited to 'tests/pending/pos/isApplicableSafe.scala')
-rw-r--r-- | tests/pending/pos/isApplicableSafe.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pending/pos/isApplicableSafe.scala b/tests/pending/pos/isApplicableSafe.scala new file mode 100644 index 000000000..b4cacbf28 --- /dev/null +++ b/tests/pending/pos/isApplicableSafe.scala @@ -0,0 +1,8 @@ +class A { + // Any of Array[List[Symbol]], List[Array[Symbol]], or List[List[Symbol]] compile. + var xs: Array[Array[Symbol]] = _ + var ys: Array[Map[Symbol, Set[Symbol]]] = _ + + xs = Array(Array()) + ys = Array(Map(), Map()) +} |