diff options
author | Martin Odersky <odersky@gmail.com> | 2013-12-18 12:43:13 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-12-18 12:43:13 +0100 |
commit | 56d8347bcd606443dde576480325677a89f5c809 (patch) | |
tree | cb73c1b1c13e66a305cc368a6620562c8d96a5f9 /src/dotty/tools/dotc/core/Denotations.scala | |
parent | 766379f578ab2ae05b2a94fc9c51e8a47e25b9ff (diff) | |
download | dotty-56d8347bcd606443dde576480325677a89f5c809.tar.gz dotty-56d8347bcd606443dde576480325677a89f5c809.tar.bz2 dotty-56d8347bcd606443dde576480325677a89f5c809.zip |
Fixing a typo in mergeDenots.
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Denotations.scala | 2 |
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 f21075f11..889396e1c 100644 --- a/src/dotty/tools/dotc/core/Denotations.scala +++ b/src/dotty/tools/dotc/core/Denotations.scala @@ -203,7 +203,7 @@ object Denotations { def mergeDenot(denot1: Denotation, denot2: SingleDenotation): Denotation = denot1 match { case denot1 @ MultiDenotation(denot11, denot12) => val d1 = mergeDenot(denot11, denot2) - if (d1.exists) denot1.derivedMultiDenotation(d1, denot2) + if (d1.exists) denot1.derivedMultiDenotation(d1, denot12) else { val d2 = mergeDenot(denot12, denot2) if (d2.exists) denot1.derivedMultiDenotation(denot11, d2) |