scalamacros/kepler — comment on commit 00376b07cb06dd66d95b8aa90cad9d080253e869
File: src/compiler/scala/tools/nsc/ast/Trees.scala line 258
By odersky:

isLocal can be replaced by an inline pattern match, as in the previous version:

tree match {
case _: DefTree | Function(_, _) | Template(_, _, _) => markLocal(tree)
case _
}
super.traverse(tree)

Otherwise this looks good.