Skip to content

Fix #5357#5360

Merged
headius merged 1 commit intojruby:masterfrom
ahorek:fix_frozen
Oct 19, 2018
Merged

Fix #5357#5360
headius merged 1 commit intojruby:masterfrom
ahorek:fix_frozen

Conversation

@ahorek
Copy link
Contributor

@ahorek ahorek commented Oct 12, 2018

#5357 introduced a bug

proc {|a| a }["sometext"].frozen?
without # frozen_string_literal: true it should return false

on the other hand hashes are frozen by default
{"sometext": ''}["sometext"] = always frozen

spec
ruby/spec#627

@kares kares added this to the JRuby 9.2.1.0 milestone Oct 12, 2018
@ahorek ahorek force-pushed the fix_frozen branch 10 times, most recently from 6e86846 to 1add902 Compare October 14, 2018 11:44
@headius headius merged commit 2572016 into jruby:master Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants