diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-12-04 14:16:01 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-12-06 23:17:26 +0100 |
commit | 7ee299b50ff9d6b99ae3bcfe8d700274b9f0ef44 (patch) | |
tree | d43af35cb1e766817c14ae0ad1e1793ec2287bcb /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | |
parent | 0ebf72b9498108e67c2133c6522c436af50a18e8 (diff) | |
download | scala-7ee299b50ff9d6b99ae3bcfe8d700274b9f0ef44.tar.gz scala-7ee299b50ff9d6b99ae3bcfe8d700274b9f0ef44.tar.bz2 scala-7ee299b50ff9d6b99ae3bcfe8d700274b9f0ef44.zip |
evicts assert(false) from the compiler
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala index 78ec6508ed..fbeb401c7d 100644 --- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala +++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala @@ -1671,7 +1671,7 @@ abstract class RefChecks extends InfoTransform with scala.reflect.internal.trans checkAnyValSubclass(currentOwner) if (bridges.nonEmpty) deriveTemplate(tree)(_ ::: bridges) else tree - case dc@TypeTreeWithDeferredRefCheck() => assert(false, "adapt should have turned dc: TypeTreeWithDeferredRefCheck into tpt: TypeTree, with tpt.original == dc"); dc + case dc@TypeTreeWithDeferredRefCheck() => abort("adapt should have turned dc: TypeTreeWithDeferredRefCheck into tpt: TypeTree, with tpt.original == dc") case tpt@TypeTree() => if(tpt.original != null) { tpt.original foreach { |