Skip to content

Should tight packing report a warning for string or hex literals? #3962

Closed
@axic

Description

@axic

None of these report an issue currently:

        function f() pure public returns (bytes32) {
            return keccak256("hello");
        }
        function g() pure public returns (bytes32) {
            return keccak256(hex"001122");
        }

(Issue from #3956 (review))

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