We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3c679 commit 6eefdc7Copy full SHA for 6eefdc7
core/src/main/scala/com/typesafe/tools/mima/lib/analyze/method/MethodChecker.scala
@@ -47,7 +47,10 @@ private[analyze] object BaseMethodChecker {
47
oldSignature == newSignature ||
48
// Special case for https://github.com/scala/scala/pull/7975:
49
(bytecodeName == MemberInfo.ConstructorName &&
50
- (newSignature.isEmpty || (oldSignature.endsWith(newSignature.drop(2))))
+ (newSignature.isEmpty ||
51
+ // The dropped character is the leading '('
52
+ oldSignature.endsWith(newSignature.tail)
53
+ )
54
)
55
}
56
0 commit comments