-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CFE] Remove redundant null checks in constant evaluator.
The evaluate method now never returns null, so checks for null of return values are redundant, and the "try" in the name of the evaluation functions is not appropriate. Change-Id: I32960164ba73fb706eef5a5a617df7d47e24a074 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98357 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Aske Simon Christensen <askesc@google.com>
- Loading branch information
Showing
1 changed file
with
30 additions
and
39 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