From 280ca97bd0591d46f47f3143641a470a8704b634 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 14 Oct 2019 15:02:54 +0200 Subject: Change deprecation level to ERROR on the Date type. --- .../kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision') diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index 947bb62b..90fdd2df 100644 --- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -29,7 +29,7 @@ import kotlinx.serialization.internal.SerialClassDescImpl import kotlin.js.Date import kotlin.math.absoluteValue -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) actual typealias Date = Date actual typealias LocalDateTime = Date -- cgit