https://kotlinlang.org logo
j

Joffrey

06/04/2019, 1:51 PM
Back again with the same issue. I believe this is a weakness in Kotlin/JS compiler. Technically, the following could be valid:
Copy code
val length = headers.`content-length`
if compiled to
let length = headers["content-length"]
, is there a reason why it is rejected? Issue opened: https://youtrack.jetbrains.com/issue/KT-31799