mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 14:17:13 +02:00
Undeprecate conversions to ScopedKey
This commit is contained in:
@@ -102,10 +102,7 @@ final class InputKey[T] private(val key: AttributeKey[InputTask[T]]) extends Key
|
|||||||
|
|
||||||
object Scoped
|
object Scoped
|
||||||
{
|
{
|
||||||
@deprecated("Implicit conversion from ScopedTask[T] to ScopedKey[Task[T]] is deprecated. Use the scopedKey method of ScopedTask.")
|
|
||||||
implicit def taskScopedToKey[T](s: ScopedTask[T]): ScopedKey[Task[T]] = ScopedKey(s.scope, s.key)
|
implicit def taskScopedToKey[T](s: ScopedTask[T]): ScopedKey[Task[T]] = ScopedKey(s.scope, s.key)
|
||||||
|
|
||||||
@deprecated("Implicit conversion from ScopedInput[T] to ScopedKey[InputTask[T]] is deprecated. Use the scopedKey method of ScopedInput.")
|
|
||||||
implicit def inputScopedToKey[T](s: ScopedInput[T]): ScopedKey[InputTask[T]] = ScopedKey(s.scope, s.key)
|
implicit def inputScopedToKey[T](s: ScopedInput[T]): ScopedKey[InputTask[T]] = ScopedKey(s.scope, s.key)
|
||||||
|
|
||||||
sealed trait ScopingSetting[Result]
|
sealed trait ScopingSetting[Result]
|
||||||
|
|||||||
Reference in New Issue
Block a user