Open
Description
Similar to #60209
Types should not be usable after a hot reload that deletes them.
Generation 0:
class A {}
var retained;
void helper() {
retained = () {
var a = <A>[];
print(a.runtimeType);
};
retained();
}
Generation 1:
var retained;
void helper() {
retained(); // <-- Should throw an error
}
Unclear what type of error this should be.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo