diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/TreeGen.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/TreeGen.scala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeGen.scala b/src/compiler/scala/tools/nsc/ast/TreeGen.scala index d195d195af..692afbac66 100644 --- a/src/compiler/scala/tools/nsc/ast/TreeGen.scala +++ b/src/compiler/scala/tools/nsc/ast/TreeGen.scala @@ -19,19 +19,6 @@ abstract class TreeGen extends scala.reflect.internal.TreeGen with TreeDSL { import global._ import definitions._ - def mkCheckInit(tree: Tree): Tree = { tree - // Leaving in the next commit... - // val tpe = - // if (tree.tpe != null || !tree.hasSymbolField) tree.tpe - // else tree.symbol.tpe - - // if (!global.phase.erasedTypes && settings.warnSelectNullable.value && - // tpe <:< NotNullClass.tpe && !tpe.isNotNull) - // mkRuntimeCall(nme.checkInitialized, List(tree)) - // else - // tree - } - /** Builds a fully attributed wildcard import node. */ def mkWildcardImport(pkg: Symbol): Import = { |