Skip to content

Commit 23428c9

Browse files
Alexey AndreevAlexey Andreev
authored andcommitted
JS: fix coroutine test. Fix hanging IDEA tests
1 parent ea1e196 commit 23428c9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,16 @@
419419
</union>
420420
</src>
421421
</new-kotlin2js>
422+
423+
<!-- TODO: it's a temporary hack, until IDEA indexer learns how to process this correctly -->
424+
<delete file="${js.stdlib.output.dir}/tmp/kotlin/BaseOutput.kjsm"/>
425+
<delete file="${js.stdlib.output.dir}/tmp/kotlin/BufferedOutput.kjsm"/>
426+
<delete file="${js.stdlib.output.dir}/tmp/kotlin/BufferedOutputToConsoleLog.kjsm"/>
427+
<delete file="${js.stdlib.output.dir}/tmp/kotlin/NodeJsOutput.kjsm"/>
428+
<delete file="${js.stdlib.output.dir}/tmp/kotlin/OutputToConsoleLog.kjsm"/>
429+
<delete file="${js.stdlib.output.dir}/tmp/kotlin/PropertyMetadata.kjsm"/>
430+
<!-- -->
431+
422432
<move file="${js.stdlib.output.dir}/tmp-builtins/kotlin.js" tofile="${js.stdlib.output.dir}/builtins.js" />
423433
<move file="${js.stdlib.output.dir}/tmp/kotlin.js" tofile="${js.stdlib.output.dir}/${compiled.stdlib.js}" />
424434
<move file="${js.stdlib.output.dir}/tmp/kotlin" todir="${js.stdlib.output.dir}" />

compiler/testData/codegen/box/coroutines/controlFlow/throwInTryWithHandleResult.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// WITH_RUNTIME
2+
// NO_INTERCEPT_RESUME_TESTS
23

34
class Controller {
45
var result = ""

0 commit comments

Comments
 (0)