Index: lib/compiler/implementation/dart2js.dart |
diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart |
index e3e1e302228eff244005cc4ec6c106ed17c42f92..73d397bdf7fcf9834d1f5943340cbd9d16cd7238 100644 |
--- a/lib/compiler/implementation/dart2js.dart |
+++ b/lib/compiler/implementation/dart2js.dart |
@@ -172,7 +172,7 @@ void compile(List<String> argv) { |
Future<String> provider(Uri uri) { |
if (uri.scheme != 'file') { |
- throw new IllegalArgumentException(uri); |
+ throw new ArgumentError(uri); |
} |
String source; |
try { |