commit | e42d4a1d89c3fbeeaa58b35b0921ae016681e79a | [log] [tgz] |
---|---|---|
author | pq <pquitslund@google.com> | Fri May 24 19:24:02 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri May 24 19:24:02 2019 +0000 |
tree | b102126fcdb437a7d51cc9673219e7510c2e4f61 | |
parent | baa721ba23ff7ca15cb174d0c7f3caf9e1a92e17 [diff] |
fix missing returns in lambdas Change-Id: I5005ffc057749468844d47e8e5c195871586bd57 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103601 Reviewed-by: Dan Rubel <danrubel@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
diff --git a/pkg/analysis_server/lib/src/edit/fix/non_nullable_fix.dart b/pkg/analysis_server/lib/src/edit/fix/non_nullable_fix.dart index 61d3984..62161e4 100644 --- a/pkg/analysis_server/lib/src/edit/fix/non_nullable_fix.dart +++ b/pkg/analysis_server/lib/src/edit/fix/non_nullable_fix.dart
@@ -105,6 +105,7 @@ content = ''' - non-nullable'''; + return null; }, ); }
diff --git a/pkg/analyzer/lib/src/summary2/builder/source_library_builder.dart b/pkg/analyzer/lib/src/summary2/builder/source_library_builder.dart index c411c79..2845328 100644 --- a/pkg/analyzer/lib/src/summary2/builder/source_library_builder.dart +++ b/pkg/analyzer/lib/src/summary2/builder/source_library_builder.dart
@@ -65,6 +65,7 @@ var nameList = node.hiddenNames.map((i) => i.name).toList(); return Combinator.hide(nameList); } + return null; }).toList(); var exported = linker.builders[uri];