diff options
author | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2011-01-16 20:07:31 +0000 |
---|---|---|
committer | Eugene Vigdorchik <eugenevigdorchik@epfl.ch> | 2011-01-16 20:07:31 +0000 |
commit | 5e6f7952d7b92bdc58b763670899441aa8587fa4 (patch) | |
tree | 7f9695a5533cc0c3cd1f828e15b87cb4b1b59707 /src | |
parent | bce484e2371b9a264565fc5e1cac2815bed8d79b (diff) | |
download | scala-5e6f7952d7b92bdc58b763670899441aa8587fa4.tar.gz scala-5e6f7952d7b92bdc58b763670899441aa8587fa4.tar.bz2 scala-5e6f7952d7b92bdc58b763670899441aa8587fa4.zip |
Rollback changes to canRedefine.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/Global.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala index a816413295..a563b25f44 100644 --- a/src/compiler/scala/tools/nsc/interactive/Global.scala +++ b/src/compiler/scala/tools/nsc/interactive/Global.scala @@ -656,7 +656,7 @@ self => * Since the IDE rechecks units several times in the same run, these tests * are disabled by always returning true here. */ - override def canRedefine(sym: Symbol) = sym.sourceFile ne null + override def canRedefine(sym: Symbol) = true def typeCheck(unit: CompilationUnit): Unit = { activeLocks = 0 |