fixes a checkfile breakage in 2.10.x

The breakage is caused by https://github.com/scala/scala/commit/fbb13630d3
and https://github.com/scala/scala/commit/a8edefcef8 having been merged
independently from each other.
Merge pull request #2513 from scalamacros/topic/210x-breakage

fixes a checkfile breakage in 2.10.x