Report question

Question: Value assignment inside for-loop in Scala