Reports expressions with side effects in monadic transformations (map, flatMap, and filter).

Consider moving the monadic transformations to a separate foreach pass.

Example:


  var a = 0
  Seq(1, 2).map(a += _)