Skip to content

Add regression test for lifted methods in Scala3InlineInfo - #27224

Open
vejeta wants to merge 1 commit into
scala:mainfrom
vejeta:inlineinfo-complete-members
Open

vejeta wants to merge 1 commit into
scala:mainfrom
vejeta:inlineinfo-complete-members

Conversation

@vejeta

@vejeta vejeta commented Oct 2, 2026

Copy link
Copy Markdown

Add a regression test to prevent the issue of InlineInfo reproducibility from reappearing.

Relates to #27223, which main already fixes since #27031.

I used Claude to help triaging the error and preparing the change; I reviewed it and tested it locally:

  • the test fails if the 3.9.0 code path is put back, and passes on main;
  • backend tests: 278 passed, 0 failed;
  • scala3-compiler-bootstrapped/compile succeeds.

The InlineInfo of a class could miss the methods moved into it by
LambdaLift when its ClassBType was first created while emitting the
generic signature of another class, before RestoreScopes. scala#27031 removed
that path on main; this test keeps it from coming back.

This branch has not been deployed

No deployments
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