Skip to content
Snippets Groups Projects
Commit ab612ddc authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Allow "&" along with "**" (Which is deprecated by Scala)

parent 6308a2d3
No related branches found
No related tags found
No related merge requests found
......@@ -647,7 +647,7 @@ trait Extractors {
object ExIntersection {
def unapply(tree: Apply): Option[(Tree,Tree)] = tree match {
case Apply(Select(lhs, n), List(rhs)) if (n == encode("**")) => Some((lhs,rhs))
case Apply(Select(lhs, n), List(rhs)) if (n == encode("**") || n == encode("&")) => Some((lhs,rhs))
case _ => None
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment