scala/scala — pull request #1138 by axel22 (2012-08-14 16:14:22+00:00)
Title: Fixes SI-6189.

Disable @static for the REPL code.
The problem was that there are no companion classes generated for objects
that contain the top-level declarations in the REPL.
When there is no companion class, the selecting a @static field will translate
to a getter call, instead of to a field load.

Review by @paulp