Skip to content

Inline Traits & Specialized Traits#26156

Draft
starswap wants to merge 242 commits into
scala:mainfrom
starswap:specialized-inline-traits
Draft

Inline Traits & Specialized Traits#26156
starswap wants to merge 242 commits into
scala:mainfrom
starswap:specialized-inline-traits

Conversation

@starswap
Copy link
Copy Markdown

@starswap starswap commented May 25, 2026

still DRAFT!! : )

Introduces:

  • Inline Traits (as built by timotheeandres, with some modifications and fixes)
  • Specialized Traits as originally described in Specialized traits design draft #21950 (also with some modifications and fixes)

The latest specification for each of these is included in docs accompanying the PR.

How much have you relied on LLM-based tools in this contribution?

Extensively, for ...
Moderately, for ...
Minimally, for ...
Not at all

How was the solution tested?

New automated tests (including the issue's reproducer, if applicable)
Covered by existing tests (this is a refactoring)
Non-code change, no tests needed
Manual tests because writing automated tests is impractical, described below (in detail)

starswap added 20 commits May 16, 2026 16:39
Add import

Add tests for package/object

Fix names for canonicalName
…ses and don't block if only an intermediate state

Fix error message in inline-trait docs for inlining looping
@starswap starswap changed the title Specialized inline traits Inline Traits & Specialized Traits May 25, 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.

2 participants