From 16e81e1c78fcb5c666cc98669ee62e7e169964aa Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Thu, 26 Jan 2023 20:15:29 -0800 Subject: [PATCH] Delete the implicit conversion (#214) --- .../com/thoughtworks/binding/bindable/package.scala | 7 ------- 1 file changed, 7 deletions(-) diff --git a/shared/src/main/scala-3/com/thoughtworks/binding/bindable/package.scala b/shared/src/main/scala-3/com/thoughtworks/binding/bindable/package.scala index b48f067..b5398bf 100644 --- a/shared/src/main/scala-3/com/thoughtworks/binding/bindable/package.scala +++ b/shared/src/main/scala-3/com/thoughtworks/binding/bindable/package.scala @@ -2,13 +2,6 @@ package com.thoughtworks.binding.bindable import com.thoughtworks.binding._ import com.thoughtworks.binding.Binding._ import scala.collection.immutable.ArraySeq -import scala.language.implicitConversions - -given [From, Value](using - bindable: Bindable.Lt[From, Value] -): Conversion[From, Value] with - def apply(from: From) = bindable.toBinding(from) -end given extension [From](from: From)(using bindable: Bindable[From]) def toBinding: Binding[bindable.Value] = bindable.toBinding(from)