Skip to content

[Scala 3] delete Delegation macro stub#879

Open
halotukozak wants to merge 1 commit into
AVSystem:scala-3from
halotukozak:05-02-delete-delegation
Open

[Scala 3] delete Delegation macro stub#879
halotukozak wants to merge 1 commit into
AVSystem:scala-3from
halotukozak:05-02-delete-delegation

Conversation

@halotukozak

@halotukozak halotukozak commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Removes misc/Delegation from the Scala 3 tree. The Scala 2 blackbox macros (materializeDelegation, CurriedDelegation.apply) have no Scala 3 counterpart and restoration is not planned — write the delegating wrapper manually (new TargetTrait { def x = source.x; ... }).

A @deprecated shim against the Scala 2 master branch ships in #880 so downstream gets a warning window before the symbol disappears.

Diff

  • Delete core/src/main/scala/com/avsystem/commons/misc/Delegation.scala
  • Delete core/src/test/scala/com/avsystem/commons/misc/DelegationTest.scala
  • MIGRATION.md §1 (Will Not Migrate) entry added
  • MIGRATION.md backlog rows removed (2)

Paired PR

Companion master deprecation: #880.

Slice 5.2 / Phase 5 leaf-feature-restoration.

@halotukozak halotukozak added this to the Scala 3 milestone Jun 2, 2026
@halotukozak halotukozak marked this pull request as ready for review June 2, 2026 12:29
@halotukozak halotukozak self-assigned this Jun 2, 2026
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.

1 participant