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

Unified Diff: compiler/java/com/google/dart/compiler/backend/js/RuntimeTypeInjector.java

Issue 9289029: Added runtime type checking to the elements of list and map literals in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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: compiler/java/com/google/dart/compiler/backend/js/RuntimeTypeInjector.java
diff --git a/compiler/java/com/google/dart/compiler/backend/js/RuntimeTypeInjector.java b/compiler/java/com/google/dart/compiler/backend/js/RuntimeTypeInjector.java
index 265472f6c74b266183658e2099387f22441534f2..179767e1308e806d71e0e56676d380fea26091c4 100644
--- a/compiler/java/com/google/dart/compiler/backend/js/RuntimeTypeInjector.java
+++ b/compiler/java/com/google/dart/compiler/backend/js/RuntimeTypeInjector.java
@@ -1150,7 +1150,8 @@ public class RuntimeTypeInjector {
*
* @param enclosingClass enclosing class element
* @param expr expression to check
- * @param type {@link Type} to check against, null is unknown
+ * @param type {@link Type} expected type to check against, null is unknown
+ * @param exprType {@link Type} statically determined type from analyzing expr
* @param src source info to use for the generated code
* @return an expression wrapping the type check call
*/

Powered by Google App Engine
This is Rietveld 408576698