From f2270262d2b04313ef8b95b43520b8078b2bff1c Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Tue, 5 Apr 2011 07:10:28 -0400 Subject: [PATCH] ScopedTask[t] -> ScopedKey[Task[t]] implicit --- main/Structure.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/Structure.scala b/main/Structure.scala index 358c91318..74ea556b0 100644 --- a/main/Structure.scala +++ b/main/Structure.scala @@ -83,6 +83,9 @@ object Scoped implicit def richSettingListScoped[T](s: ScopedSetting[Seq[T]]): RichSettingList[T] = new RichSettingList[T](s.scope, s.key) implicit def richListTaskScoped[T](s: ScopedTask[Seq[T]]): RichListTask[T] = new RichListTask[T](s.scope, s.key) + implicit def taskScopedToKey[T](s: ScopedTask[T]): ScopedKey[Task[T]] = ScopedKey(s.scope, s.key) + implicit def inputScopedToKey[T](s: ScopedInput[T]): ScopedKey[InputTask[T]] = ScopedKey(s.scope, s.key) + implicit def scopedSettingScoping[T](s: ScopedSetting[T]): ScopingSetting[ScopedSetting[T]] = new ScopingSetting(scope => scopedSetting(Scope.replaceThis(s.scope)(scope), s.key))