diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2009-12-10 16:05:04 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2009-12-10 16:05:04 +0000 |
commit | cd14cb81c2dbf37e58f58f4049de0f883532e29c (patch) | |
tree | 987d48163bcc1f571c93f2340f02af8f3b27cee4 | |
parent | 63f5dbb0a67f8a61f4480a79863a99010bb00c6e (diff) | |
download | scala-cd14cb81c2dbf37e58f58f4049de0f883532e29c.tar.gz scala-cd14cb81c2dbf37e58f58f4049de0f883532e29c.tar.bz2 scala-cd14cb81c2dbf37e58f58f4049de0f883532e29c.zip |
Closes #2649
-rw-r--r-- | src/compiler/scala/tools/nsc/dependencies/Changes.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/dependencies/Changes.scala b/src/compiler/scala/tools/nsc/dependencies/Changes.scala index 3340eeb842..8a72dac358 100644 --- a/src/compiler/scala/tools/nsc/dependencies/Changes.scala +++ b/src/compiler/scala/tools/nsc/dependencies/Changes.scala @@ -88,6 +88,7 @@ abstract class Changes { case (MethodType(params1, res1), MethodType(params2, res2)) => // new dependent types: probably fix this, use substSym as done for PolyType (sameTypes(tp1.paramTypes, tp2.paramTypes) && + ((tp1.params zip tp2.params).forall(p => p._1.fullNameString == p._2.fullNameString)) && sameType(res1, res2) && tp1.isInstanceOf[ImplicitMethodType] == tp2.isInstanceOf[ImplicitMethodType]) |