diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-06-15 03:49:17 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-06-15 03:49:17 +0000 |
commit | f8d38356f5ff225cfe0c3072398f9a3509ae7601 (patch) | |
tree | d2c29bdf689167dd4a93c4b0c441dba2cf50d905 /src/compiler | |
parent | 388342464e07f301698d7994c4bfdd5f77c94546 (diff) | |
download | scala-f8d38356f5ff225cfe0c3072398f9a3509ae7601.tar.gz scala-f8d38356f5ff225cfe0c3072398f9a3509ae7601.tar.bz2 scala-f8d38356f5ff225cfe0c3072398f9a3509ae7601.zip |
stub tree duplicate returns itself and no longe...
stub tree duplicate returns itself and no longer crashes.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/IdeSupport.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/IdeSupport.scala b/src/compiler/scala/tools/nsc/typechecker/IdeSupport.scala index 48d8343ef2..6cce427a14 100644 --- a/src/compiler/scala/tools/nsc/typechecker/IdeSupport.scala +++ b/src/compiler/scala/tools/nsc/typechecker/IdeSupport.scala @@ -355,7 +355,7 @@ trait IdeSupport extends Analyzer { trait StubTree extends global.StubTree { def underlying : MemoizedTree override var symbol : Symbol = NoSymbol - override def duplicate : this.type = throw new Error("not supported") + override def duplicate : this.type = this //throw new Error("not supported") override def isType = underlying.kind.isType override def isTerm = underlying.kind.isTerm override def isDef = underlying.kind.isDef |