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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11417060: Remive uses of "void operator[]() => ..." in the html library and enable return type checks for all… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | sdk/lib/html/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
===================================================================
--- sdk/lib/html/dart2js/html_dart2js.dart (revision 15068)
+++ sdk/lib/html/dart2js/html_dart2js.dart (working copy)
@@ -8962,7 +8962,7 @@
num operator[](int index) => JS("num", "#[#]", this, index);
- void operator[]=(int index, num value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, num value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<num> mixins.
// num is the element type.
@@ -9073,7 +9073,7 @@
num operator[](int index) => JS("num", "#[#]", this, index);
- void operator[]=(int index, num value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, num value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<num> mixins.
// num is the element type.
@@ -11194,7 +11194,7 @@
int operator[](int index) => JS("int", "#[#]", this, index);
- void operator[]=(int index, int value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<int> mixins.
// int is the element type.
@@ -11305,7 +11305,7 @@
int operator[](int index) => JS("int", "#[#]", this, index);
- void operator[]=(int index, int value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<int> mixins.
// int is the element type.
@@ -11416,7 +11416,7 @@
int operator[](int index) => JS("int", "#[#]", this, index);
- void operator[]=(int index, int value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<int> mixins.
// int is the element type.
@@ -16652,7 +16652,7 @@
String operator [](String key) => $dom_getItem(key);
- void operator []=(String key, String value) => $dom_setItem(key, value);
+ void operator []=(String key, String value) { $dom_setItem(key, value); }
String putIfAbsent(String key, String ifAbsent()) {
if (!containsKey(key)) this[key] = ifAbsent();
@@ -17996,7 +17996,7 @@
int operator[](int index) => JS("int", "#[#]", this, index);
- void operator[]=(int index, int value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<int> mixins.
// int is the element type.
@@ -18107,7 +18107,7 @@
int operator[](int index) => JS("int", "#[#]", this, index);
- void operator[]=(int index, int value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<int> mixins.
// int is the element type.
@@ -18218,7 +18218,7 @@
int operator[](int index) => JS("int", "#[#]", this, index);
- void operator[]=(int index, int value) => JS("void", "#[#] = #", this, index, value);
+ void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, value); }
// -- start List<int> mixins.
// int is the element type.
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | sdk/lib/html/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698