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

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

Issue 2862043002: Infer AsExpression types. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 7 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 | « pkg/front_end/test/fasta/strong.status ('k') | pkg/front_end/testcases/inference/type_cast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/infer_type_cast.dart
diff --git a/pkg/front_end/testcases/inference/infer_type_cast.dart b/pkg/front_end/testcases/inference/infer_type_cast.dart
deleted file mode 100644
index 836e79ef3cae74debd12da592eb22583799b8dd9..0000000000000000000000000000000000000000
--- a/pkg/front_end/testcases/inference/infer_type_cast.dart
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/*@testedFeatures=inference*/
-library test;
-
-class A<T> {}
-
-class B<T> extends A<T> {
- foo() {}
-}
-
-A<num> a = new B<int>();
-var /*@topType=B<int>*/ b = (a as B<int>);
-main() {
- b.foo();
-}
« no previous file with comments | « pkg/front_end/test/fasta/strong.status ('k') | pkg/front_end/testcases/inference/type_cast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698