scala/scala — pull request #56 by stephenjudkins (2011-12-14 08:41:06+00:00)
Title: Fix for SI-4929. Includes (previously failing) test case.

This uses thread-local variables, which is not ideal; however, I can't find any way to fix it otherwise that doesn't involve significant refactoring.

I've created a new pull request because I believe my old one (https://github.com/scala/scala-minor-snafu/pull/3) might have been lost in the repo snafu; a branch in the new repo was created but it since seems to have disappeared. Apologies if this was unnecessary.