Skip to content

literal string warning in byte_buffer.rb:69 with ruby 3.4.1 #58

@Aqualon

Description

@Aqualon

Not sure about the state of ione, we use it as dependency of cassandra-driver gem. In ruby 3.4.x there are warnings logged, if string literals are mutated:

ione-1.2.5/lib/ione/byte_buffer.rb:69: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

Mutation is in

@write_buffer << bytes

The literal itself is defined in
@write_buffer = ''

and in
@write_buffer = ''

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