Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
prepend the new qualifier
  • Loading branch information
chenghao-intel committed Apr 17, 2015
commit 5ee5d2c52d34fec40660f00a0135b72d0e5e581c
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