Skip to content

Commit 20e3bf6

Browse files
authored
Fix closer error in wasm2s.core2s.test_dylink_syslibs_missing_assertions (#17463)
This was broken by #17446 but we don't run wasm2s are part of our github CI.
1 parent e79f10e commit 20e3bf6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ jobs:
400400
corez.test_dylink_iostream
401401
core2ss.test_pthread_dylink
402402
core2ss.test_pthread_thread_local_storage
403+
core2s.test_dylink_syslibs_missing_assertions
403404
wasm2js3.test_memorygrowth_2
404405
other.test_unistd_fstatfs_wasmfs
405406
wasmfs.test_hello_world

src/library_eventloop.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ LibraryJSEventLoop = {
4444
'var __setImmediate_id_counter = 0;\n' +
4545
'var __setImmediate_queue = [];\n' +
4646
'var __setImmediate_message_id = "_si";\n' +
47-
'var __setImmediate_cb = (/** @type {Event} */e) => {\n' +
47+
'/** @param {Event} e */\n' +
48+
'var __setImmediate_cb = (e) => {\n' +
4849
'if (e.data === __setImmediate_message_id) {\n' +
4950
'e.stopPropagation();\n' +
5051
'__setImmediate_queue.shift()();\n' +

0 commit comments

Comments
 (0)