scala/scala — pull request #1436 by dragos (2012-10-01 10:38:45+00:00)
Title: [backport] Fixed instrumentation code so that it can deal with:

1. leading imports: object sheet { import math; … }
2. trailing objects: object sheet { … } object other { … }

Review by @adriaanm
(cherry picked from commit 092eac75a25dc09734c940adb962d62eebfeeaa0)