Browse files

missed a compatibility overload for constructing an InputKey

  • Loading branch information...
1 parent a362128 commit 1eef9e660a53569831fb8027a121bcca405d4a16 @harrah committed Apr 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 main/Structure.scala
View
3 main/Structure.scala
@@ -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) )

0 comments on commit 1eef9e6

Please sign in to comment.