Skip to content

Conversation

@Matyrobbrt
Copy link
Member

Until now, generic arguments wouldn't have stubs generated, meaning that you could not inject an interface with a type parameter that references your own classes. This fixes that. For this to be fixed, an exception from the "verbatim copy" rule had to be added: inner classes must use $. This change does not however break any existing working builds.

Until now, generic arguments wouldn't have stubs generated, meaning that you could not inject an interface with a type parameter that references your own classes. This fixes that.
For this to be fixed, an exception from the "verbatim copy" rule had to be added: inner classes must use $. This change does not however break any existing *working* builds.
@Matyrobbrt Matyrobbrt added the bug Something isn't working label Jul 25, 2025
@Matyrobbrt Matyrobbrt marked this pull request as ready for review July 25, 2025 12:32
@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@Matyrobbrt Matyrobbrt merged commit 5609af0 into main Aug 3, 2025
4 checks passed
@Matyrobbrt Matyrobbrt deleted the generate-stubs-for-generic-arguments branch August 3, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants