missed a compatibility overload for constructing an InputKey

This commit is contained in:
Mark Harrah 2012-04-13 17:47:12 -04:00
parent a36212886d
commit 1eef9e660a
1 changed files with 3 additions and 0 deletions

View File

@ -617,6 +617,9 @@ object InputKey
def apply[T: Manifest](label: String, description: String = "", rank: Int = KeyRanks.DefaultInputRank): InputKey[T] =
apply( AttributeKey[InputTask[T]](label, description, rank) )
def apply[T: Manifest](label: String, description: String, extend1: Scoped, extendN: Scoped*): InputKey[T] =
apply(label, description, KeyRanks.DefaultInputRank, extend1, extendN : _*)
def apply[T: Manifest](label: String, description: String, rank: Int, extend1: Scoped, extendN: Scoped*): InputKey[T] =
apply( AttributeKey[InputTask[T]](label, description, extendScoped(extend1, extendN), rank) )