aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-14 09:53:30 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-14 09:53:30 +0100
commitd2767983aa4aeb9caccfd56273a1ac93e576bb4a (patch)
tree9089a4469419281488c25574b813eb62941de6be /src/dotty/tools/dotc/core/Denotations.scala
parent3c7a8eada3630989b07bd3022797fd42a3b8cfcc (diff)
downloaddotty-d2767983aa4aeb9caccfd56273a1ac93e576bb4a.tar.gz
dotty-d2767983aa4aeb9caccfd56273a1ac93e576bb4a.tar.bz2
dotty-d2767983aa4aeb9caccfd56273a1ac93e576bb4a.zip
Various fixes that make loadDef largely work.
Only problem is that there are stubs for AnyRef generated.
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala
index 170233ee2..c3486aa0a 100644
--- a/src/dotty/tools/dotc/core/Denotations.scala
+++ b/src/dotty/tools/dotc/core/Denotations.scala
@@ -530,7 +530,7 @@ object Denotations {
/** The union of two groups. */
def union(that: PreDenotation) =
if (!this.exists) that
- else if (that.exists) this
+ else if (!that.exists) this
else DenotUnion(this, that)
}