Repository navigation
[hl] fix closure type when override dynamic function in generic class - #13043
Conversation
|
With more tests there is s.onItem = function(item) { trace(item + " !"); }fail with So added a new fix (I removed the local optimization that skip nullcheck in Cpp, jvm are really failing the tests. Fix suggested by Claude (seems that previously a new field is created for the dynamic function, which isn't good. But I'm not able to understand much of it.) |
|
The JVM fix looks a bit silly, surely this should become part of the |
|
JVM and Eval look good to me now. @Aidan63 Could you check the CPP change here? The change makes sense to me overall, but I'm not quite sure about the |
|
The |
|
Claude's message (short version):
|
|
I can't understand any cpp code yet, but I'm letting it try harder with your review in mind* |
|
I'm confused by the changes now, I say lets just revert that last change and go with the initial one. I can always look at it later. |
This reverts commit 04be493.
| eq("ho!", b.received); | ||
|
|
||
| // assigning null must not wrap it into a non null closure | ||
| #if (!lua && !cppia) |
There was a problem hiding this comment.
It would be good to open an issue about these disabled tests
UPDATE: solved in #13160
There was a problem hiding this comment.
If you would like to please open issues, also note that 13038 has if !cppia too
It's a rare case in our codebase, and it doesn't really cause problem at runtime. However it fail hl-check
Fail hl-check at:
Before fix
After fix