Skip to content

@volatile vals inside objects are broken. #549

Closed
@DarkDimius

Description

@DarkDimius

They get runtime offset(memory pointer) from companion class, and then try to operate on instances of the module class.
This could lead to arbitrary behavior, including killing the VM.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions