Skip to content

convert truncates integers #5413

Closed
@pygy

Description

@pygy
d = (Bool=>Int8)[]
d[true] = 2345 # => 2345
d[true] # => 41

The culprit lies here. The key is checked for truncation, but not the value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codeneeds decisionA decision on this change is needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions