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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java

Issue 10855267: Support for inferring SelectElement from 'select' tag (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
index 2806d5daef05432ae97bddb0383439d4b38e4678..21b9a19957a6caa0a3a24f1b2fb0ff6049d5b2ea 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
@@ -1066,6 +1066,7 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
" var v4 = query('button[foo=\"bar\"]');",
" var v5 = query('div.class');",
" var v6 = query('input#id');",
+ " var v7 = query('select#id');",
" // invocation of method",
" var m1 = document.query('div');",
" // unsupported currently",
@@ -1086,6 +1087,7 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
assertInferredElementTypeString(unit, "v4", "ButtonElement");
assertInferredElementTypeString(unit, "v5", "DivElement");
assertInferredElementTypeString(unit, "v6", "InputElement");
+ assertInferredElementTypeString(unit, "v7", "SelectElement");
// invocation of method
assertInferredElementTypeString(unit, "m1", "DivElement");
// bad cases, or unsupported now
« no previous file with comments | « compiler/java/com/google/dart/compiler/type/ExternalTypeAnalyzers.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698