Chained destructive methods fail when using +@ to unfreeze a frozen string
Using the +@ syntax to unfreeze a string does not work when chaining destructive methods
Consider the following;
foo = "bar".freeze +foo.gsub!("bar", "car")
FrozenError: can't modify frozen String
However, I would have expected this to work since +@ should return a duplicated mutable string.