Skip to content
Browse files

Made a small typing change to quiet a scala 2.8.0 pattern matching er…

…ror.
  • Loading branch information...
1 parent cbf63af commit e6bab09bad214847a546e0f88d9386bbc20574ef @davewhittaker davewhittaker committed
View
4 ...tence/squeryl-record/src/main/scala/net/liftweb/squerylrecord/RecordMetaDataFactory.scala
@@ -141,10 +141,10 @@ class RecordMetaDataFactory extends FieldMetaDataFactory {
fieldScale getOrElse super.scale
}
- private def fieldFor(o: AnyRef) = getter.get.invoke(o).asInstanceOf[TypedField[AnyRef]]
+ private def fieldFor(o: AnyRef) = getter.get.invoke(o).asInstanceOf[TypedField[_ <: AnyRef]]
override def set(target: AnyRef, value: AnyRef) = {
- val typedField: TypedField[AnyRef] = fieldFor(target)
+ val typedField: TypedField[_] = fieldFor(target)
typedField.setFromAny(Box !! value)
}

0 comments on commit e6bab09

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