Skip to content

Commit

Permalink
Merge pull request #889 from EstebanMarin/improve-error-message-typec…
Browse files Browse the repository at this point in the history
…lass

improve error message
  • Loading branch information
armanbilge authored Oct 4, 2023
2 parents 40cd796 + 9c8d651 commit 71c29f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/core/shared/src/main/scala/TraceValue.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ object TraceValue {
implicit def viaTraceableValue[A: TraceableValue](a: A): TraceValue =
TraceableValue[A].toTraceValue(a)

@deprecated("use toTraceValue", "0.3.0")
@deprecated("use `viaTraceableValue(value)`", "0.3.0")
def stringToTraceValue(value: String): TraceValue = StringValue(value)
@deprecated("use toTraceValue", "0.3.0")
@deprecated("use `viaTraceableValue(value)`", "0.3.0")
def boolToTraceValue(value: Boolean): TraceValue = BooleanValue(value)
@deprecated("use toTraceValue", "0.3.0")
@deprecated("use `viaTraceableValue(value)`", "0.3.0")
def intToTraceValue(value: Int): TraceValue = NumberValue(value)
@deprecated("use toTraceValue", "0.3.0")
@deprecated("use `viaTraceableValue(value)`", "0.3.0")
def longToTraceValue(value: Long): TraceValue = NumberValue(value)
@deprecated("use toTraceValue", "0.3.0")
@deprecated("use `viaTraceableValue(value)`", "0.3.0")
def floatToTraceValue(value: Float): TraceValue = NumberValue(value)
@deprecated("use toTraceValue", "0.3.0")
@deprecated("use `viaTraceableValue(value)`", "0.3.0")
def doubleToTraceValue(value: Double): TraceValue = NumberValue(value)
}

Expand Down

0 comments on commit 71c29f0

Please sign in to comment.