That code does not compile. As a human Scala compiler, I failed to notice this, and hope to fix this bug in the nightly build.

And that is why you should always try to avoid vars!