Repository navigation
Backlog: drop the Lua defects #1510 and #1512 fixed, run their stale exemptions on Lua - #1513
Conversation
…exemptions on Lua #1512 made arrayListInClosure and classBoundWithIndependentMethodTypeParam pass on Lua, so the master CI run with -PallBackends failed on their exemptions. Both now run on Lua. BACKLOG.md loses the lua-static-erased, lua-bound-unresolved, lua-closure-receiver, lua-new-instance-unresolved, lua-new-instance-erased, lua-field-split, lua-tuple-subclass and lua-tuple-elimination-crash entries and the two static entries those exemptions cited, keeps lua-instanceof-erased for closures only (the cases the matrix still lists), and records that the interpreter ignores the type arguments of instanceof.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa352ebb6d
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…wn on Lua #1512 made TypeClassTests.classBoundWithIndependentMethodTypeParam pass on Lua, and the test now runs there, so section 9 says the shape is supported instead of not promised. Generic construction inside such a method stays uncovered, so the advice for serialization loaders remains. LuaExemption.CLASS_AND_METHOD_TYPE_PARAMS had no use left; it goes, with its TRANSLATION_ERROR kind.
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Master CI is red since #1512: with
-PallBackendsthe Ubuntu job fails onGenericsWithTypeclassesTests.arrayListInClosure, whoseKNOWN_LUA_DEFECTexemption is stale (the test passes on Lua now). Behind it,TypeClassTests.classBoundWithIndependentMethodTypeParamhas a staleCLASS_AND_METHOD_TYPE_PARAMSexemption too. Both tests now run on Lua (testLua(true).luaOnly(false)).BACKLOG.md
lua-static-erased,lua-bound-unresolved,lua-closure-receiver,lua-new-instance-unresolved,lua-new-instance-erased,lua-field-split,lua-tuple-subclass,lua-tuple-elimination-crash, the tuple-constructed static and the static split by a constant argument.lua-instanceof-erasednow covers only closures, which are the 9 casesgenericSpecialisationMatrix-knownFailures.txtstill lists, with a repro checked to fail on Lua and pass on Jass.instanceof(EvaluateExpr.eval(ImInstanceof)asksProgramState.isInstanceOfabout the class alone). Before the transformations,m instanceof Box<T>withT = intis true for aBox<string>, even where both backends answer false. The backend tests useexecuteProgOnlyAfterTransforms(), which skips that run.The tuple-static and shared-static repros were re-run on master and pass.
Tests
Run with
-PallBackendson Windows (bundled Lua 5.3): GenericsWithTypeclassesTests 119, TypeClassTests 72, LuaTranslationTests 154, OptimizerTests 179, CompiletimeTests 50, InterpreterTests 29, LuaExemptionTests 6. These are all the classes that carry a Lua exemption. The full suite was not run with-PallBackends, and pull-request CI does not run Lua for every test, so master CI after the merge is the first full check.Open
AGENTS.md §9 still says Lua support for a method combining class and method type parameters is not promised, and
LuaExemption.CLASS_AND_METHOD_TYPE_PARAMShas no use left. Both are unchanged here.