From 56aab6cb5504fb9eebf024a31815445c2e7cc963 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 4 Oct 2017 10:45:48 +0200 Subject: [PATCH] Small cleanup --- compiler/src/dotty/tools/dotc/transform/CheckStatic.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala b/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala index 937a4f1cc137..b1dc3b578f41 100644 --- a/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala +++ b/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala @@ -39,11 +39,6 @@ class CheckStatic extends MiniPhaseTransform { thisTransformer => override def phaseName = "checkStatic" - - def check(tree: tpd.DefTree)(implicit ctx: Context) = { - - } - override def transformTemplate(tree: tpd.Template)(implicit ctx: Context, info: TransformerInfo): tpd.Tree = { val defns = tree.body.collect{case t: ValOrDefDef => t} var hadNonStaticField = false