[ddc] Super calls are broken in a library after it has been hot reloaded #59628
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
web-dev-compiler
Background:
The JavaScript
super
keyword binds to the class where it was defined in the source code.The current hot reload behavior is to copy members from a new temporary class where they are defined, into the existing class from the previous generation during the initialization phase of a library. Later in the link phase the class hierarchies are connected by updating the prototype chains. This handling is causing super calls to be broken in a library that is hot reloaded, even if the diff is completely unrelated to the super call or even the class that contains it.
The text was updated successfully, but these errors were encountered: