Skip to content

chore: Rewrite to scala3 syntax#3048

Merged
He-Pin merged 1 commit into
mainfrom
scalaNewFmt
Jun 6, 2026
Merged

chore: Rewrite to scala3 syntax#3048
He-Pin merged 1 commit into
mainfrom
scalaNewFmt

Conversation

@He-Pin

@He-Pin He-Pin commented Jun 6, 2026

Copy link
Copy Markdown
Member

Let Scala 3 Community build compile Pekko, I compiled it with 3.8.4 and it works

@He-Pin He-Pin requested a review from pjfanning June 6, 2026 09:34
@He-Pin He-Pin added this to the 2.0.0-M4 milestone Jun 6, 2026

@pjfanning pjfanning left a comment

Copy link
Copy Markdown
Member

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 29dc5e8 into main Jun 6, 2026
9 checks passed
@He-Pin He-Pin deleted the scalaNewFmt branch June 6, 2026 13:36
@He-Pin

He-Pin commented Jun 6, 2026

Copy link
Copy Markdown
Member Author

@WojciechMazur FYI

He-Pin added a commit to apache/pekko-persistence-dynamodb that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-persistence-dynamodb.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-samples that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-samples.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-management that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-management.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-connectors that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-connectors.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-http that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-http.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-grpc that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-grpc.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-persistence-cassandra that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-persistence-cassandra.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-persistence-r2dbc that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-persistence-r2dbc.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-projection that referenced this pull request Jun 14, 2026
Motivation:
Let Scala 3 Community build compile pekko-projection.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-connectors-kafka that referenced this pull request Jun 15, 2026
Motivation:
Let Scala 3 Community build compile pekko-connectors-kafka.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-persistence-jdbc that referenced this pull request Jun 15, 2026
Motivation:
Let Scala 3 Community build compile pekko-persistence-jdbc.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-persistence-jdbc that referenced this pull request Jun 15, 2026
Motivation:
Let Scala 3 Community build compile pekko-persistence-jdbc.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
He-Pin added a commit to apache/pekko-connectors-kafka that referenced this pull request Jun 15, 2026
Motivation:
Let Scala 3 Community build compile pekko-connectors-kafka.

Modification:
Update .scalafmt.conf dialect to scala213source3 and enable
scala3 syntax rewrite rules, then reformat all sources.

Result:
Wildcard types use ? syntax (e.g. Class[?] instead of Class[_]).

Tests:
Not run - formatting only

References:
Refs apache/pekko#3048
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.

2 participants