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

Unified Diff: pkg/front_end/testcases/inference/assign_local.dart

Issue 2977973002: Reenable commented-out test. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | pkg/front_end/testcases/inference/assign_local.dart.direct.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/assign_local.dart
diff --git a/pkg/front_end/testcases/inference/assign_local.dart b/pkg/front_end/testcases/inference/assign_local.dart
index df32dfd63d4fbf038e32ebfba570846e5dda6d72..53ef197ccb801afaca8a4a5c8f44e27f4c655c05 100644
--- a/pkg/front_end/testcases/inference/assign_local.dart
+++ b/pkg/front_end/testcases/inference/assign_local.dart
@@ -14,8 +14,7 @@ main() {
var /*@type=int*/ x1 = (x = 1);
var /*@type=double*/ x2 = (x = 1.0);
- // TODO(scheglov) uncomment when constructor inference is implemented.
-// A<int> y;
-// var /*@type=A<int>*/ y1 = (y = /*@typeArgs=int*/ new A());
-// var /*@type=B<int>*/ y2 = (y = /*@typeArgs=int*/ new B());
+ A<int> y;
+ var /*@type=A<int>*/ y1 = (y = new /*@typeArgs=int*/ A());
+ var /*@type=B<int>*/ y2 = (y = new /*@typeArgs=int*/ B());
}
« no previous file with comments | « no previous file | pkg/front_end/testcases/inference/assign_local.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698