Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
macros.Context.enclosingClass returns enclosing Template instead of ClassDef/ModuleDef #6394
This is an implementation artifact discussed here: http://groups.google.com/group/scala-internals/browse_thread/thread/d11dc103742f9493. Would be very easy to fix by switching to a different implementation strategy.
Imported From: https://issues.scala-lang.org/browse/SI-6394?orig=1