summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-03-13 16:09:32 -0700
committerPaul Phillips <paulp@improving.org>2013-03-13 16:09:32 -0700
commita4c338888f4364dfd44989acd12cb72daf639081 (patch)
tree6015a5888d55d2e577820acc528513f50118fed8 /src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala
parent2655a99237815704e67fff4ad5533df7c1d2d752 (diff)
downloadscala-a4c338888f4364dfd44989acd12cb72daf639081.tar.gz
scala-a4c338888f4364dfd44989acd12cb72daf639081.tar.bz2
scala-a4c338888f4364dfd44989acd12cb72daf639081.zip
Remove -Xcheck-null setting.
Maybe this was useful in some way; but no way I ever saw. I have comments which tell me this is exposed in the IDE so I left a stub. I also removed mkCheckInit. That probably sounds like it's related to -Xcheckinit. Guess again, guy-who-thinks-names-mean-things. It was only used by -Xcheck-null.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala b/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala
index 8c686107b4..5999a64b36 100644
--- a/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala
@@ -426,7 +426,7 @@ trait MethodSynthesis {
Nil,
Nil,
tpt,
- if (mods.isDeferred) EmptyTree else gen.mkCheckInit(fieldSelection)
+ if (mods.isDeferred) EmptyTree else fieldSelection
) setSymbol derivedSym
}
}