Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3e5b673

Browse filesBrowse files
committed
Fix wasm compilation after KT-63348
1 parent b17bb47 commit 3e5b673
Copy full SHA for 3e5b673

File tree

Expand file treeCollapse file tree

2 files changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-2
lines changed

‎kotlinx-coroutines-test/wasmJs/src/TestBuilders.kt

Copy file name to clipboardExpand all lines: kotlinx-coroutines-test/wasmJs/src/TestBuilders.kt
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import kotlin.js.*
66

77
public actual typealias TestResult = JsPromiseInterfaceForTesting
88

9-
@Suppress("INFERRED_TYPE_VARIABLE_INTO_POSSIBLE_EMPTY_INTERSECTION")
109
internal actual fun createTestResult(testProcedure: suspend CoroutineScope.() -> Unit): TestResult =
1110
GlobalScope.promise {
1211
testProcedure()

‎kotlinx-coroutines-test/wasmJs/src/internal/JsPromiseInterfaceForTesting.kt

Copy file name to clipboardExpand all lines: kotlinx-coroutines-test/wasmJs/src/internal/JsPromiseInterfaceForTesting.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a parametric class. So, we make a non-parametric class just for this. */
77
* @suppress
88
*/
99
@JsName("Promise")
10-
public external class JsPromiseInterfaceForTesting {
10+
public external class JsPromiseInterfaceForTesting : JsAny {
1111
/**
1212
* @suppress
1313
*/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.