Skip to content

Generate stubs for generic arguments - #53

Merged
Matyrobbrt merged 1 commit into
mainfrom
generate-stubs-for-generic-arguments
Aug 3, 2025
Merged

Generate stubs for generic arguments#53
Matyrobbrt merged 1 commit into
mainfrom
generate-stubs-for-generic-arguments

Conversation

@Matyrobbrt

Copy link
Copy Markdown
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
Copy Markdown
  • 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