Files
discourse/lib
Sam Saffron 0a5a6dfded DEV: stop mutating inputs as a side effect
We had quite a few cases in core where inputs are being mutated as a side
effect of calling a method.

This handles all the cases where specs caught this.

Mutating inputs makes code harder to reason about. Eg:

```
frog = "frog"
jump(frog)
puts frog
"fly" # ?????
```

This commit is part of a followup commit that adds # frozen_string_literal
to all our specs.
2019-04-30 10:25:53 +10:00
..
2019-04-02 15:49:23 +01:00
2019-02-22 16:29:27 +01:00
2017-07-28 10:20:09 +09:00
2019-02-20 10:25:43 +08:00
2017-07-28 10:20:09 +09:00
2019-01-22 12:51:59 +08:00
2018-06-07 13:28:18 +08:00
2017-07-28 10:20:09 +09:00
2014-03-11 03:18:57 -04:00
2019-04-29 16:41:35 +08:00
2018-12-04 10:48:16 +01:00
2013-12-16 18:39:49 +01:00
2018-02-26 10:25:58 +11:00
2018-04-25 08:44:07 +10:00
2019-03-28 22:31:58 +00:00
2018-06-07 13:28:18 +08:00
2017-07-03 15:26:57 -04:00
2018-06-07 13:28:18 +08:00
2017-07-28 10:20:09 +09:00
2018-08-10 11:34:01 +10:00
2019-04-24 16:22:00 +02:00
2017-07-28 10:20:09 +09:00