Skip to content

Cached boxed numerics are always boxed as int #1278

@Aidan63

Description

@Aidan63

Discovered in HaxeFoundation/haxe#12410, doubles and int64s have the same small boxed value caching done, but they're put in the same cache as ints and are boxed as ints.
So when a int64 is boxed and it's boxed form is pulled from the cache it will report its type as just int.

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