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

Unified Diff: lib/src/js/template.dart

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Reverted to new .dart files in input_sdk: please compare them against previous patchset Created 5 years 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: lib/src/js/template.dart
diff --git a/lib/src/js/template.dart b/lib/src/js/template.dart
index 88e7321bae747d335bf9840dc36746b66c37e9cd..0dea734d868b1611203d44eaae9f4041bafb21c8 100644
--- a/lib/src/js/template.dart
+++ b/lib/src/js/template.dart
@@ -102,7 +102,7 @@ class Template {
if (arguments is List) {
if (arguments.length != positionalArgumentCount) {
throw 'Wrong number of template arguments, given ${arguments.length}, '
- 'expected $positionalArgumentCount';
+ 'expected $positionalArgumentCount:\n$source';
}
return instantiator(arguments);
}

Powered by Google App Engine
This is Rietveld 408576698