Skip to content

Kotlin immutable list causes exception #168

Open
@elifarley

Description

@elifarley

If I try to read an Any as a Kotlin data class that contains an immutable list, I get an error on ReflectionCollectionDecoder.decode_ line 44: col.clear()

Example data class that causes the error:
data class Example(val problem: listOf<Int>())

See #55

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions