scalamacros/kepler — comment on commit 01f8b772e55db9ba89b72ed92ceee4b39a58c558
File: src/compiler/scala/tools/nsc/transform/LiftCode.scala line 308
By odersky:

We might be able to fiddle with this case. I think the problem was that the reifySymRef(sym.sourceModule) did not always give a module symbol, right? So taking moduleClass is wrong. The conservative thing to do would be to create a new freevar only in the case where reifySymRef(sym.sourceModule) gave you something that was not a module class.