Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Kernel] Allow constant declarations without an initializer
These can arise in erroneous cases which have already been reported, e.g., in a for-in loop with a const declaration. The constant evaluator should not assume a non-null initializer in this case. Change-Id: I2540cb9c659d33e23b6c00d4a8bbf56c404d8c1d Reviewed-on: https://dart-review.googlesource.com/c/89280 Commit-Queue: Aske Simon Christensen <askesc@google.com> Auto-Submit: Kevin Millikin <kmillikin@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com>
- Loading branch information
Kevin Millikin
authored and
commit-bot@chromium.org
committed
Jan 14, 2019
1 parent
b0855ff
commit 1c9eb3c
Showing
1 changed file
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters