Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ordering of composite type hints

  • Loading branch information...
commit c173ea1e51148997f5eea411576d75c05b90662a 1 parent 91dff5c
Joni Freeman authored nafg committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/json/src/main/scala/net/liftweb/json/Formats.scala
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.