Skip to content

Rule suggestion: bitwise operation with constants should use hex notation #4

Description

@cdlm

For instance, the magic number below is really 16r3FFFFF (a mask for the 22 least significant bits)

Character >> charCode
    ^ self asInteger bitAnd: 4194303

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions