diff options
author | Martin Odersky <odersky@gmail.com> | 2013-04-05 21:42:46 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-04-05 21:42:46 +0200 |
commit | 7696a4aa949825c3f8bbe8e5aa7ef428657aac24 (patch) | |
tree | 4308cc76bd79e17c62e2301a6764e671ab7d1346 /src/dotty/tools | |
parent | 3444dedf4c172eb506d78da0b48407b4b443934c (diff) | |
download | dotty-7696a4aa949825c3f8bbe8e5aa7ef428657aac24.tar.gz dotty-7696a4aa949825c3f8bbe8e5aa7ef428657aac24.tar.bz2 dotty-7696a4aa949825c3f8bbe8e5aa7ef428657aac24.zip |
Weakening disambiguation from =:= to matches.
Diffstat (limited to 'src/dotty/tools')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/UnPickler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/UnPickler.scala b/src/dotty/tools/dotc/core/pickling/UnPickler.scala index cded46014..c09ff8072 100644 --- a/src/dotty/tools/dotc/core/pickling/UnPickler.scala +++ b/src/dotty/tools/dotc/core/pickling/UnPickler.scala @@ -506,7 +506,7 @@ class UnPickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: assert(denot is (SuperAccessor | ParamAccessor), denot) def disambiguate(alt: Symbol) = { // !!! DEBUG cctx.debugTraceIndented(s"disambiguating ${denot.info} =:= ${ denot.owner.thisType.memberInfo(alt)} ${denot.owner}") { - denot.info =:= denot.owner.thisType.memberInfo(alt) + denot.info matches denot.owner.thisType.memberInfo(alt) } } val alias = readDisambiguatedSymbolRef(disambiguate).asTerm |