diff options
Diffstat (limited to 'tests/pos-special/sets.scala')
-rw-r--r-- | tests/pos-special/sets.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pos-special/sets.scala b/tests/pos-special/sets.scala new file mode 100644 index 000000000..577d709f5 --- /dev/null +++ b/tests/pos-special/sets.scala @@ -0,0 +1,11 @@ +object Test { + + val subPatBinders = List[Symbol]() + + def extraStoredBinders: Set[Symbol] = ??? + + val storedBinders: Set[Symbol] = + (if (true) subPatBinders.toSet else Set.empty) ++ extraStoredBinders// -- ignoredSubPatBinders + + +} |