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

Unified Diff: pkg/front_end/lib/kernel_generator.dart

Issue 2677423002: Small fix to perf.dart. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | pkg/front_end/tool/perf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/kernel_generator.dart
diff --git a/pkg/front_end/lib/kernel_generator.dart b/pkg/front_end/lib/kernel_generator.dart
index 0ae2fb3c232c3972cb42593340d31d6670f90884..086f45adea80856cf9d65959acb630cde6db9b6b 100644
--- a/pkg/front_end/lib/kernel_generator.dart
+++ b/pkg/front_end/lib/kernel_generator.dart
@@ -183,7 +183,7 @@ void _reportErrors(List errors, ErrorHandler onError) {
String _uriToPath(Uri uri, CompilerOptions options) {
if (uri == null) return null;
if (uri.scheme != 'file') {
- throw new StateError('Only file URIs are supported');
+ throw new StateError('Only file URIs are supported: $uri');
}
return options.fileSystem.context.fromUri(uri);
}
« no previous file with comments | « no previous file | pkg/front_end/tool/perf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698