Skip to content

Conversation

@hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented May 20, 2025

We recompile scala 2 files that still require the scala 2 compiler (files with @specialized + AnyVal).
We add them manually to the scala 2 jar.

This replaces the old copy-paste system that was less safe.

NOTE: MiMa compares against the jar and not the output folder. This is important as we want to guarantee that the shipped jar is compatible. Also, MiMa doesn't allow to specify multiple output directories as source.

@hamzaremmal hamzaremmal requested a review from sjrd May 20, 2025 12:52
@hamzaremmal hamzaremmal force-pushed the drop-stdlib-plugin branch 4 times, most recently from 8d8e95c to 2775ade Compare May 23, 2025 12:46
@sjrd sjrd force-pushed the drop-stdlib-plugin branch from d602f2f to b1f5dad Compare May 23, 2025 13:23
@hamzaremmal hamzaremmal marked this pull request as ready for review May 23, 2025 13:24
@hamzaremmal hamzaremmal enabled auto-merge May 23, 2025 13:25
@hamzaremmal hamzaremmal disabled auto-merge May 26, 2025 10:57
@hamzaremmal
Copy link
Member Author

Both myself and @sjrd have MiMa passing locally. Investigating...

*/
def swap: Tuple2[T2,T1] = Tuple2(_2, _1)

} No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

seems missing and end line here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants