1 2 3 4 5 6 7 8 9 10 11
object Test { val subPatBinders = List[Symbol]() def extraStoredBinders: Set[Symbol] = ??? val storedBinders: Set[Symbol] = (if (true) subPatBinders.toSet else Set.empty) ++ extraStoredBinders// -- ignoredSubPatBinders }