DescriptionPrecompilation: Don't drop an uncompiled function if it has a compiled implicit closure function.
This ensures the implicit closure function is enumerated in later steps. Fixes crash in co19 test reducible as
import 'dart:math';
main() {
print(const [1, 2.0, "3"].fold(0, max));
}
Also enumerate invocation dispatchers to avoid a similar situation there, though I cannot find a crashing example involving them.
R=fschneider@google.com
Committed: https://github.com/dart-lang/sdk/commit/d94b68cb41d5b6cb9a4c536c19911bac4f1f5b9a
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|