Skip to content

Commit

Permalink
prepend the new qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghao-intel committed Apr 17, 2015
1 parent d2e8b43 commit 5ee5d2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ case class Generate(
val withoutQualifier = if (join) child.output ++ generatorOutput else generatorOutput

qualifier.map(q =>
withoutQualifier.map(_.withQualifiers(q :: Nil))
// prepend the new qualifier to the existed one
withoutQualifier.map(a => a.withQualifiers(q +: a.qualifiers))
).getOrElse(withoutQualifier)
}
}
Expand Down

0 comments on commit 5ee5d2c

Please sign in to comment.