Skip to content

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

Merged

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki enabled auto-merge June 16, 2023 08:44
@nicolasstucki nicolasstucki force-pushed the categorize-tasty-mima-issues branch from 8abc7fc to a7f2e4f Compare June 16, 2023 08:53
@nicolasstucki nicolasstucki added the fasttrack Simple fix. Reviewer should merge or apply additional changes directly. label Jun 16, 2023
@nicolasstucki nicolasstucki requested a review from sjrd June 16, 2023 10:59
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
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expanded

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
Copy link
Member

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.

// 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
Copy link
Member

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.

@nicolasstucki nicolasstucki force-pushed the categorize-tasty-mima-issues branch from a7f2e4f to 51e472b Compare June 16, 2023 11:28
@nicolasstucki nicolasstucki merged commit 8e97a51 into scala:main Jun 16, 2023
@nicolasstucki nicolasstucki deleted the categorize-tasty-mima-issues branch June 16, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fasttrack Simple fix. Reviewer should merge or apply additional changes directly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants