summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugene Vigdorchik <eugenevigdorchik@epfl.ch>2011-01-16 20:07:31 +0000
committerEugene Vigdorchik <eugenevigdorchik@epfl.ch>2011-01-16 20:07:31 +0000
commit5e6f7952d7b92bdc58b763670899441aa8587fa4 (patch)
tree7f9695a5533cc0c3cd1f828e15b87cb4b1b59707 /src
parentbce484e2371b9a264565fc5e1cac2815bed8d79b (diff)
downloadscala-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.scala2
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