Permalink
Browse files

Fix ordering of composite type hints

  • Loading branch information...
1 parent 91dff5c commit c173ea1e51148997f5eea411576d75c05b90662a Joni Freeman committed with nafg Aug 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/json/src/main/scala/net/liftweb/json/Formats.scala
@@ -157,7 +157,7 @@ trait TypeHints {
/**
* Adds the specified type hints to this type hints.
*/
- def + (hints: TypeHints): TypeHints = CompositeTypeHints(hints.components ::: components)
+ def + (hints: TypeHints): TypeHints = CompositeTypeHints(components ::: hints.components)
private[TypeHints] case class CompositeTypeHints(override val components: List[TypeHints]) extends TypeHints {
val hints: List[Class[_]] = components.flatMap(_.hints)

0 comments on commit c173ea1

Please sign in to comment.