Hi, I think `Style/FrozenStringLiteralComment` should not be considered as safe for autocorrection. For example: ``` my_string = 'foo' my_string << 'will crash with frozen_string_literal' ``` This code will crash with an error `can't modify frozen String (FrozenError)`. Regards, John
Activity
buehmann commentedon Aug 23, 2019
Thanks, I opened a pull request for this: #7307
[Fix #7287] FrozenStringLiteralComment is unsafe