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

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

Issue 11967010: Internal libraries supported. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update MockCompiler Created 7 years, 11 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/dart2js.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart
index 62286a07529c38c2a4dd5c804a6ba73332ec3c3b..0e419b76fee8387e49a7eb5bde016a5a7e89affe 100644
--- a/sdk/lib/_internal/compiler/implementation/dart2js.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart
@@ -200,7 +200,7 @@ void compile(List<String> argv) {
Future<String> provider(Uri uri) {
if (uri.scheme != 'file') {
- throw new ArgumentError(uri);
+ throw new ArgumentError("Invalid uri '$uri'");
ahe 2013/01/24 10:00:57 How about: "Unknown scheme in uri '$uri'"
Johnni Winther 2013/01/24 13:04:59 Done.
}
String source;
try {

Powered by Google App Engine
This is Rietveld 408576698