Skip to content
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

chore: Fix scala constructor finding tests for scala 3. #1220

Merged
merged 2 commits into from
Mar 23, 2024
Merged

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Mar 23, 2024

Motivation:
Fix #1082

@He-Pin He-Pin added the t:stream Pekko Streams label Mar 23, 2024
@He-Pin He-Pin added this to the 1.1.0-M1 milestone Mar 23, 2024
@He-Pin
Copy link
Member Author

He-Pin commented Mar 23, 2024

I think this one can be backported to 1.0.x too.

@He-Pin
Copy link
Member Author

He-Pin commented Mar 23, 2024

Scala 3 encoding different vs Scala 2, updating :(

@pjfanning
Copy link
Contributor

unfortunately our PR build does not test this code - so let's get it merged to main when it is ready but then we run the nightly build

We can backport when we know that the main branch nightly tests pass.

@He-Pin
Copy link
Member Author

He-Pin commented Mar 23, 2024

@pjfanning The constructor encoding is different in Scala 3 and Scala 2, so I just move these classes to an object , and let them then closing over nothing.

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

lgtm

@He-Pin He-Pin merged commit c818001 into main Mar 23, 2024
18 checks passed
@He-Pin He-Pin deleted the fixPropsScala3 branch March 23, 2024 16:27
He-Pin added a commit to He-Pin/incubator-pekko that referenced this pull request Mar 24, 2024
* chore: Fix scala constructor finding tests for scala 3.

* reorder imports

(cherry picked from commit c818001)
He-Pin added a commit that referenced this pull request Mar 24, 2024
* chore: Fix scala constructor finding tests for scala 3.

* reorder imports

(cherry picked from commit c818001)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:stream Pekko Streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scala 3.3 ActorDocSpec java.lang.IllegalArgumentException: no matching constructor found
2 participants