Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(819)

Unified Diff: sdk/lib/_internal/compiler/implementation/library_loader.dart

Issue 23742006: Handle exception from scanning. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/library_loader.dart
diff --git a/sdk/lib/_internal/compiler/implementation/library_loader.dart b/sdk/lib/_internal/compiler/implementation/library_loader.dart
index 3c515a18c270cb52ced6910fc845255eaac0e1f9..e405dcfd56fa36ca2dd850326aad8590228ec0e3 100644
--- a/sdk/lib/_internal/compiler/implementation/library_loader.dart
+++ b/sdk/lib/_internal/compiler/implementation/library_loader.dart
@@ -281,7 +281,7 @@ class LibraryLoaderTask extends LibraryLoader {
// TODO(rnystrom): Remove .toList() here if #11523 is fixed.
return Future.forEach(library.tags.reverse().toList(), (LibraryTag tag) {
- compiler.withCurrentElement(library, () {
+ return compiler.withCurrentElement(library, () {
if (tag.isImport) {
Import import = tag;
tagState = checkTag(TagState.IMPORT_OR_EXPORT, import);
« no previous file with comments | « no previous file | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698