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

Unified Diff: lib/runtime/dart/convert.js

Issue 1085723002: fixes for angular hello: String + and disable broken arg parsing (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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: lib/runtime/dart/convert.js
diff --git a/lib/runtime/dart/convert.js b/lib/runtime/dart/convert.js
index 171551aaeb07340cca0bb781aba7aeed2036180c..2cc625c97e8d6b14bfbcd0ebbd02980f517a2840 100644
--- a/lib/runtime/dart/convert.js
+++ b/lib/runtime/dart/convert.js
@@ -1400,7 +1400,7 @@ var convert;
}
addSlice(chunk, start, end, isLast) {
if (this[_carry] != null) {
- chunk = core.String['+'](this[_carry], chunk.substring(start, end));
+ chunk = dart.notNull(this[_carry]) + dart.notNull(chunk.substring(start, end));
start = 0;
end = chunk.length;
this[_carry] = null;

Powered by Google App Engine
This is Rietveld 408576698