Control Duration init block assertions on JVM with -ea option
On other platforms enable them unconditionally
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
*/
|
||||
package kotlin.time
|
||||
|
||||
internal actual inline val durationAssertionsEnabled: Boolean get() = true
|
||||
internal actual fun formatToExactDecimals(value: Double, decimals: Int): String = TODO("Wasm stdlib: Duration")
|
||||
internal actual fun formatUpToDecimals(value: Double, decimals: Int): String = TODO("Wasm stdlib: Duration")
|
||||
Reference in New Issue
Block a user