Skip to content
Browse files

Keep scala 2.8 compatibility, use error() instead of sys.error()

  • Loading branch information...
1 parent bf36b4b commit 043ff67be140825812f7f9d49496be55ca9c13aa @indrajitr indrajitr committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/common/src/main/scala/net/liftweb/common/HList.scala
2 core/common/src/main/scala/net/liftweb/common/HList.scala
@@ -101,7 +101,7 @@ sealed trait ExcludeThisType[A, B]
* that a type is not a subtype of another type
object ExcludeThisType {
- def unexpected: Nothing = sys.error("Unexpected invocation")
+ def unexpected: Nothing = error("Unexpected invocation")
// Uses ambiguity to rule out the cases we're trying to exclude
implicit def nsub[A, B]: A ExcludeThisType B = null

0 comments on commit 043ff67

Please sign in to comment.
Something went wrong with that request. Please try again.