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

Unified Diff: pkg/front_end/lib/src/fasta/import.dart

Issue 2691613002: Improve compile-time error handling. (Closed)
Patch Set: Update status and expectations for rasta tests. Created 3 years, 10 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
Index: pkg/front_end/lib/src/fasta/import.dart
diff --git a/pkg/front_end/lib/src/fasta/import.dart b/pkg/front_end/lib/src/fasta/import.dart
index 5e3597fa9460d0fafd331ba2027f2a72bbc48f90..4b873d9f51af7919c9ef223b0479eec841b48448 100644
--- a/pkg/front_end/lib/src/fasta/import.dart
+++ b/pkg/front_end/lib/src/fasta/import.dart
@@ -56,7 +56,7 @@ class Import {
add(name, member);
});
if (prefix != null) {
- Builder existing = importer.addBuilder(prefix.name, prefix);
+ Builder existing = importer.addBuilder(prefix.name, prefix, charOffset);
if (existing == prefix) {
importer.addToScope(prefix.name, prefix);
}

Powered by Google App Engine
This is Rietveld 408576698