Merge pull request #2139 from pdalpra/drop-procedure-syntax

Replace procedure syntax by explicit Unit annotation
This commit is contained in:
eugene yokota 2015-08-04 11:32:07 -04:00
commit 668afafc08
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ final class ContextUtil[C <: Context](val ctx: C) {
// Workaround copied from scala/async:can be removed once https://github.com/scala/scala/pull/3179 is merged.
private[this] class ChangeOwnerAndModuleClassTraverser(oldowner: global.Symbol, newowner: global.Symbol) extends global.ChangeOwnerTraverser(oldowner, newowner) {
override def traverse(tree: global.Tree) {
override def traverse(tree: global.Tree): Unit = {
tree match {
case _: global.DefTree => change(tree.symbol.moduleClass)
case _ =>