-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Make the test suite is compatible with --enable-frozen-string-literal #10235
Merged
byroot
merged 1 commit into
ruby:master
from
Shopify:enable-frozen-string-literal-compile
Mar 14, 2024
Merged
Make the test suite is compatible with --enable-frozen-string-literal #10235
byroot
merged 1 commit into
ruby:master
from
Shopify:enable-frozen-string-literal-compile
Mar 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
casperisfine
force-pushed
the
enable-frozen-string-literal-compile
branch
2 times, most recently
from
March 13, 2024 12:02
f195b9c
to
04f45a7
Compare
This comment has been minimized.
This comment has been minimized.
casperisfine
force-pushed
the
enable-frozen-string-literal-compile
branch
4 times, most recently
from
March 13, 2024 14:22
b583fa5
to
d5ae988
Compare
eregon
reviewed
Mar 13, 2024
eregon
reviewed
Mar 13, 2024
casperisfine
force-pushed
the
enable-frozen-string-literal-compile
branch
from
March 13, 2024 17:19
0edf492
to
0ab9078
Compare
casperisfine
pushed a commit
to casperisfine/mspec
that referenced
this pull request
Mar 13, 2024
Ref: ruby/ruby#10235 As discussed upstream, the mutability is only used in one spec, `path.rb`: ```ruby @name = +"file_to_path" @path = tmp(@name) ``` For all the others it doesn't matter if the argument is mutated or not.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/mspec
that referenced
this pull request
Mar 13, 2024
Ref: ruby/ruby#10235 As discussed upstream, the mutability is only used in one spec, `path.rb`: ```ruby @name = +"file_to_path" @path = tmp(@name) ``` For all the others it doesn't matter if the argument is mutated or not.
eregon
pushed a commit
to ruby/mspec
that referenced
this pull request
Mar 13, 2024
Ref: ruby/ruby#10235 As discussed upstream, the mutability is only used in one spec, `path.rb`: ```ruby @name = +"file_to_path" @path = tmp(@name) ``` For all the others it doesn't matter if the argument is mutated or not.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
pushed a commit
to casperisfine/spec
that referenced
this pull request
Mar 13, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step.
casperisfine
force-pushed
the
enable-frozen-string-literal-compile
branch
from
March 14, 2024 16:01
0ab9078
to
c38e212
Compare
casperisfine
changed the title
Ensure test suite is compatible with --frozen-string-literal
Make the test suite is compatible with --enable-frozen-string-literal
Mar 14, 2024
casperisfine
force-pushed
the
enable-frozen-string-literal-compile
branch
from
March 14, 2024 16:03
c38e212
to
43f2a04
Compare
As preparation for https://bugs.ruby-lang.org/issues/20205 making sure the test suite is compatible with frozen string literals is making things easier.
casperisfine
force-pushed
the
enable-frozen-string-literal-compile
branch
from
March 14, 2024 16:25
43f2a04
to
940a9ae
Compare
maximecb
approved these changes
Mar 14, 2024
eregon
added a commit
to casperisfine/spec
that referenced
this pull request
Mar 14, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step. Co-authored-by: Benoit Daloze <eregontp@gmail.com>
eregon
added a commit
to casperisfine/spec
that referenced
this pull request
Mar 14, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step. Co-authored-by: Benoit Daloze <eregontp@gmail.com>
eregon
added a commit
to ruby/spec
that referenced
this pull request
Mar 14, 2024
Extracted from: ruby/ruby#10235 Ref: https://bugs.ruby-lang.org/issues/20205 Ruby will gradually move towards enabling frozen string literals by default. Making the ruby spec suite compatible is a good first step. Co-authored-by: Benoit Daloze <eregontp@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As preparation for https://bugs.ruby-lang.org/issues/20205 making sure the test suite is compatible with frozen string literals is making things easier.
Note that
spec/
is being handled upstream: ruby/spec#1142