nschulzke
07/01/2021, 7:18 PMNoSuchElementException
when I try to create an HttpClient with Kotlin/JS 1.5.2 with Ktor Client 1.6.1 (legacy compiler).
According to this issue, this is a DCE problem: https://github.com/ktorio/ktor/issues/1731
When I get an error like this, how do I know which declarations need to be added to the DCE keep setting? I tried adding the one suggested in the above issue, but it didn't work:
dceTask {
keep("ktor-ktor-io.\$\$importsForInline\$\$.<http://ktor-ktor-io.io.ktor.utils.io|ktor-ktor-io.io.ktor.utils.io>")
}
turansky
07/02/2021, 11:05 PM1.2.1
?