Better return type.

This commit is contained in:
Sarah Gerweck 2015-04-15 23:56:43 -07:00
parent a6a1b220d8
commit 30ae4d8157

View File

@ -45,7 +45,7 @@ object PropertyBuilder extends PropertyBuilderLP {
def makeNew(default: String) = StringProperty(default) def makeNew(default: String) = StringProperty(default)
} }
def apply[A](default: A)(implicit builder: PropertyBuilder[A]): SimpleProperty[A] = { def apply[A](default: A)(implicit builder: PropertyBuilder[A]): builder.Prop = {
builder.makeNew(default) builder.makeNew(default)
} }
} }