Chromium Code Reviews

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: simplify diff in js_codegen.dart Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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