This is what Scala 2.12 does, for startup performance reasons (http://www.scala-lang.org/blog/2016/07/08/trait-method-performance.html). Currently we're only doing it for JUnit-annotated methods (https://github.com/lampepfl/dotty/pull/2557). /cc @DarkDimius