Reports local variables assigned to expression with different type inside of closure or anonymous class.

Example:


  int sum = 0
  [1, 2, 3].each { sum += 'as' }
  println(sum)

Here the integer variable sum is reassigned to a String expression.