Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn on modified future frozen string literal #549

Closed

Conversation

etiennebarrie
Copy link
Member

No description provided.

@rubyFeedback
Copy link

With byroot suggesting it on the ruby tracker not too long ago, will it be proposed for an upcoming ruby developer meeting as well?

@etiennebarrie etiennebarrie force-pushed the warn-on-modified-future-frozen-string-literal branch 2 times, most recently from 0b5cb1f to 0b61e41 Compare March 11, 2024 09:44
@casperisfine
Copy link

repro:

o = "test"
def o.test
end
o.test

@casperisfine
Copy link

We'll need ruby/prism#2577 to be fully green.

@casperisfine casperisfine force-pushed the warn-on-modified-future-frozen-string-literal branch 2 times, most recently from db34647 to b41de40 Compare March 14, 2024 14:42
@casperisfine
Copy link

Alright, we're now at the stage where we're failing on make test-spec, which is being handled in ruby/spec#1142

@casperisfine casperisfine force-pushed the warn-on-modified-future-frozen-string-literal branch 3 times, most recently from 628b631 to 4424995 Compare March 14, 2024 21:47
etiennebarrie and others added 11 commits March 15, 2024 09:53
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
…fied

Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
@casperisfine
Copy link

Moving to ruby#10262

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.

None yet

4 participants