-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Categorize stdlib-bootstrapped TASTy-MiMa issues #17987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Categorize stdlib-bootstrapped TASTy-MiMa issues #17987
Conversation
8abc7fc
to
a7f2e4f
Compare
project/TastyMiMaFilters.scala
Outdated
ProblemMatcher.make(ProblemKind.IncompatibleTypeChange, "scala.*.<init>"), | ||
|
||
// Problem The symbol scala.*.<init> has a more restrictive visibility qualifier in current version | ||
// Only on primitive type final abstract classes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's only on the primitive types, that's at most 9 things. Consider spelling them out explicitly so that you don't catch other constructors by mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expanded
project/TastyMiMaFilters.scala
Outdated
ProblemMatcher.make(ProblemKind.RestrictedVisibilityChange, "scala.*.<init>"), | ||
|
||
// Problem: constructors have a result type the return unit instead of the class type | ||
ProblemMatcher.make(ProblemKind.IncompatibleTypeChange, "scala.*.<init>"), // scala.math.Numeric.CharIsIntegral.<init>; before: (): scala.math.Numeric.CharIsIntegral; after: (): Unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's an OK. In the bytecode constructors don't have result types at all. It must be tasty-query at fault here.
project/TastyMiMaFilters.scala
Outdated
// Problem: Case class with varargs | ||
ProblemMatcher.make(ProblemKind.IncompatibleTypeChange, "scala.StringContext.parts"), | ||
// Problem: Case class with varargs. | ||
ProblemMatcher.make(ProblemKind.IncompatibleTypeChange, "scala.StringContext.parts"), // before: scala.<repeated>[Predef.String]; after: scala.collection.immutable.Seq[Predef.String] @scala.annotation.internal.Repeated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a tasty-query issue as well. Should be an OK.
a7f2e4f
to
51e472b
Compare
No description provided.