Skip to content

RuntimeError: can't modify frozen String when require on Ruby 2.3.0preview1 #13

@mois3x

Description

@mois3x

I'm getting this error on https://github.com/lang/unicode_utils/blob/master/lib/unicode_utils/read_cdata.rb#L183 and

https://github.com/lang/unicode_utils/blob/master/lib/unicode_utils/read_cdata.rb#L199

I get over it when I move down the cat_buffer definition into the while block but I dont know whether this create another subtle bug.

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