j

    janvladimirmostert

    2 years ago
    it's rather annoying that i can't have both Serializable and JsExport at the same time
    @JsExport
    //@Serializable
    @ExperimentalJsExport
    data class Blah(
        var name: String? = null,
    )
    or
    //@JsExport
    @Serializable
    //@ExperimentalJsExport
    data class Blah(
        var name: String? = null,
    )
    With both of them, i get this error
    e: java.lang.AssertionError: Properties without fields are not supported com.company.Blah.Companion_instance
    spierce7

    spierce7

    2 years ago
    Perhaps another bug should be filed for this?
    j

    janvladimirmostert

    2 years ago
    @spierce7, will logging another bug get this issue more attention?