You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its not something I've explicitly looked at yet, no. Anyone is welcome to contribute a fix, however.
C++ is difficult to get correct for many reasons and there are a number of edge cases that will be difficult to handle. This is one that requires an explicit fixed to be emitted and should handle most of the scenarios. That being said, the more general problem is that it requires recognizing if any statement in the method body takes the address of this and then fixing for the entire scope, as otherwise there may be lifetime issues.
Activity
TechInterMezzo commentedon May 26, 2026
This bug still exists. @tannergooding Any news on this?
tannergooding commentedon May 26, 2026
Its not something I've explicitly looked at yet, no. Anyone is welcome to contribute a fix, however.
C++ is difficult to get correct for many reasons and there are a number of edge cases that will be difficult to handle. This is one that requires an explicit
fixedto be emitted and should handle most of the scenarios. That being said, the more general problem is that it requires recognizing if any statement in the method body takes the address ofthisand then fixing for the entire scope, as otherwise there may be lifetime issues.Pass `this` as a pointer when a callee expects one