Chromium Code Reviews
Description[kernel] Allow local initializers with redirecting constructors.
Summary:
Previously, we had asserts in the kernel flowgraph builder than assumed
redirecting initializers were not accompanied by any other initializers. This
was to prevent the presence of field initializers alongside them.
Now, we allow (only) local initializers to appear with redirecting initializers
because it's safe and necessary for closure conversion.
Test Plan:
Re-ran pkg/kernel/test/closures_type_vars/suite.dart and
pkg/kernel/test/closures/suite.dart -- all tests pass again.
BUG=
R=jensj@google.com
Committed: https://github.com/dart-lang/sdk/commit/66fe821637f91a6f62dc5c7d5295bfb1213a879d
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (4 generated)
|
||||||||||||||||||||||||||||