Donny
07/06/2023, 3:58 PMBig Chungus
07/06/2023, 4:56 PMBig Chungus
07/06/2023, 4:56 PMDonny
07/06/2023, 4:57 PMDonny
07/06/2023, 4:57 PMBig Chungus
07/06/2023, 4:58 PMDonny
07/06/2023, 4:59 PMDonny
07/06/2023, 5:01 PMCLOVIS
07/06/2023, 8:18 PM_a5d3z
postfix you can see on function names when you don't specify @JsName
CLOVIS
07/06/2023, 8:18 PMDonny
07/06/2023, 8:58 PMDonny
07/06/2023, 8:58 PMDonny
07/06/2023, 9:02 PM@ExperimentalJsExport
@JsExport
class TheClass() {
fun TextLine.before(charIndex: Int): TextLine {
...
}
fun Pair<String, TextAttributes>.before(index: Int): Pair<String, TextAttributes> {
...
}
}
This causes an error ... but why?Donny
07/06/2023, 9:05 PMCLOVIS
07/07/2023, 7:28 AM@JsExport
? I'm pretty sure this compiles fine if you don't export itCLOVIS
07/07/2023, 7:28 AM