Skip to content
Prev Previous commit
Next Next commit
Fix compilation
  • Loading branch information
hvanhovell committed Apr 20, 2018
commit eb6dd8033c532f7bcf103ee6096b9dedd91176fd
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ package object expressions {
// Collect matching attributes given a name and a lookup.
def collectMatches(name: String, candidates: Option[Seq[Attribute]]): Seq[Attribute] = {
candidates.toSeq.flatMap(_.collect {
case a if !a.isGenerated && resolver(a.name, name) => a.withName(name)
case a if resolver(a.name, name) => a.withName(name)
})
}

Expand Down