Tianyu Zhu
08/17/2023, 5:39 PMTypeError: Cannot set property message of Error which has only a getter
at <global>.setPropertiesToThrowableInstance(/home/tzhu/Projects/flex-transform/core/build/compileSync/js/test/testDevelopmentExecutable/kotlin/runtime/coreRuntime.kt:108)
at <global>.extendThrowable(/home/tzhu/Projects/flex-transform/core/build/compileSync/js/test/testDevelopmentExecutable/kotlin/runtime/coreRuntime.kt:102)
at Exception.init(/home/tzhu/Projects/flex-transform/core/build/compileSync/js/test/testDevelopmentExecutable/kotlin/src/kotlin/exceptions.kt:16)
at RuntimeException.init(/home/tzhu/Projects/flex-transform/core/build/compileSync/js/test/testDevelopmentExecutable/kotlin/src/kotlin/exceptions.kt:23)
Which seems to be coming from this line of code: https://github.com/JetBrains/kotlin/blob/v1.8.20/libraries/stdlib/js-ir/runtime/coreRuntime.kt#L108C8-L108C47
Is this a bug?turansky
08/17/2023, 8:18 PMArtem Kobzar
08/18/2023, 7:26 AM