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

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

Issue 21544003: Handle missing imports/exports/parts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add example to warning. Created 7 years, 4 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: sdk/lib/_internal/compiler/implementation/script.dart
diff --git a/sdk/lib/_internal/compiler/implementation/script.dart b/sdk/lib/_internal/compiler/implementation/script.dart
index b1306167e9bd828f2af07769610375257901f125..f6cda016e80ee4b30e32a4231a1490da0d342614 100644
--- a/sdk/lib/_internal/compiler/implementation/script.dart
+++ b/sdk/lib/_internal/compiler/implementation/script.dart
@@ -5,10 +5,7 @@
part of dart2js;
class Script {
- // TODO(kasperl): Once MockFile in tests/compiler/dart2js/parser_helper.dart
- // implements SourceFile, we should be able to type the [file] field as
- // such.
- final file;
+ final SourceFile file;
/**
* The readable URI from which this script was loaded.

Powered by Google App Engine
This is Rietveld 408576698