Skip to content

Drop EliminateGenerics.fillMissingTypeArgsFromScope, which no program reaches - #1522

Closed
Frotty wants to merge 1 commit into
masterfrom
drop-fill-missing-type-args
Closed

Frotty wants to merge 1 commit into
masterfrom
drop-fill-missing-type-args

Conversation

@Frotty

@Frotty Frotty commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Split out of #1519, which this replaces together with #1520 and #1521.

EliminateGenerics.fillMissingTypeArgsFromScope filled a type's missing type arguments from the type variables of a class function, matched by name. It ran on the Jass path, for the owner arguments of a static inner class's type, which the IM translation now gives itself (WurstTypeClassOrInterface.imTranslateType).

Made to throw whenever it filled an argument, the whole suite (3,256 tests) never reached it. So it goes, with its call and its BACKLOG.md entry.

Validation: see the results at the end.

Validation (Windows, bundled Lua 5.3, -PallBackends): GenericsTests 73, ClosureTests 68, GenericsModuleTests 6, GenericsWithTypeclassesTests 119, LuaBackendAuditTests 285, ClassesTests 128, all passing, plus the whole suite with the helper made to throw. Not done: Linux and macOS.

… reaches

It filled a type's missing type arguments from the type variables of a class function by name, on the Jass
path, for the owner arguments of a static inner class's type, which the IM translation now gives itself
(WurstTypeClassOrInterface.imTranslateType). Made to throw whenever it filled one, the whole suite (3,256
tests) never reached it, so it goes with its call.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T14:02:06.747322Z 925e760 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty

Frotty commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Superseded by #1519, which was merged with the same changes before this split was finished.

@Frotty Frotty closed this Oct 21, 2026
@Frotty
Frotty deleted the drop-fill-missing-type-args branch October 21, 2026 14:01
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