Open jetjager opened 1 year ago
The text.split(",")
call returns a Java array I.e mutable. I’m thinking that maybe I should relax the rules for Array because there is only one real mutation operator on it (I.e set-at-index) which I could check for.
The following code triggers a 'Detected the use of a mutable collection inside a defer clause.', but I don't think it should lead to any issues.