Skip to content

Missing NoSuchMethod errors when accessing deleted members #60100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nshahan opened this issue Feb 11, 2025 · 0 comments
Open

Missing NoSuchMethod errors when accessing deleted members #60100

nshahan opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
P2 A bug or feature request we're likely to work on web-dev-compiler web-hot-reload Issues related to stateful hot reload on the web

Comments

@nshahan
Copy link
Contributor

nshahan commented Feb 11, 2025

After deleting a field, getter, setter, method of any kind and hot reloading, any code that accesses those members should throw a NoSuchMethod. This could be from dynamic accesses or from code retained from earlier generations.

Related tests:

hot_reload/call_deleted_top_level_function
hot_reload/call_deleted_top_level_function_arity_change
hot_reload/change_instance_format2
hot_reload/delete_static_field
hot_reload/tear_off_remove
@nshahan nshahan added web-dev-compiler area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop labels Feb 11, 2025
@biggs0125 biggs0125 added the web-hot-reload Issues related to stateful hot reload on the web label Feb 11, 2025
@biggs0125 biggs0125 assigned nshahan and unassigned Markzipan Feb 20, 2025
@nshahan nshahan added P2 A bug or feature request we're likely to work on and removed area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop labels May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 A bug or feature request we're likely to work on web-dev-compiler web-hot-reload Issues related to stateful hot reload on the web
Projects
Status: In Progress
Development

No branches or pull requests

3 participants