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

Change frozen_string_literal to be a tri-state #2577

Merged
merged 1 commit into from
Mar 13, 2024

Commits on Mar 12, 2024

  1. Change frozen_string_literal to be a tri-state

    An explicit `false` is not equivalent to the comment being missing,
    because the default can be switched with a runtime flag:
    
    ```bash
    $ ruby --enable-frozen-string-literal -e 'p "foo".frozen?'
    true
    ```
    byroot committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    4660f58 View commit details
    Browse the repository at this point in the history