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

Unified Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 837063002: Disable type propagation for class/top-level fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
« no previous file with comments | « pkg/analyzer/test/generated/incremental_resolver_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index d311cc7c22e5ca0c968d1429380a0c8bdee42aa1..163fb1aa50af9277d53ab6cbf0e93979a8cb0a19 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -6759,7 +6759,7 @@ class B extends A {
verify([source]);
}
- void test_propagatedFieldType() {
+ void fail_propagatedFieldType() {
// From dartbug.com/20019
Source source = addSource(r'''
class A { }
@@ -11962,7 +11962,7 @@ main(CanvasElement canvas) {
expect(identifier.propagatedType.name, "CanvasRenderingContext2D");
}
- void test_finalPropertyInducingVariable_classMember_instance() {
+ void fail_finalPropertyInducingVariable_classMember_instance() {
addNamedSource("/lib.dart", r'''
class A {
final v = 0;
@@ -11978,7 +11978,7 @@ f(A a) {
typeProvider.intType);
}
- void test_finalPropertyInducingVariable_classMember_instance_inherited() {
+ void fail_finalPropertyInducingVariable_classMember_instance_inherited() {
addNamedSource("/lib.dart", r'''
class A {
final v = 0;
@@ -11997,7 +11997,7 @@ class B extends A {
}
void
- test_finalPropertyInducingVariable_classMember_instance_propagatedTarget() {
+ fail_finalPropertyInducingVariable_classMember_instance_propagatedTarget() {
addNamedSource("/lib.dart", r'''
class A {
final v = 0;
@@ -12015,7 +12015,7 @@ f(p) {
typeProvider.intType);
}
- void test_finalPropertyInducingVariable_classMember_static() {
+ void fail_finalPropertyInducingVariable_classMember_static() {
addNamedSource("/lib.dart", r'''
class A {
static final V = 0;
@@ -12031,7 +12031,7 @@ f() {
typeProvider.intType);
}
- void test_finalPropertyInducingVariable_topLevelVaraible_prefixed() {
+ void fail_finalPropertyInducingVariable_topLevelVaraible_prefixed() {
addNamedSource("/lib.dart", "final V = 0;");
String code = r'''
import 'lib.dart' as p;
@@ -12044,7 +12044,7 @@ f() {
typeProvider.intType);
}
- void test_finalPropertyInducingVariable_topLevelVaraible_simple() {
+ void fail_finalPropertyInducingVariable_topLevelVaraible_simple() {
addNamedSource("/lib.dart", "final V = 0;");
String code = r'''
import 'lib.dart';
« no previous file with comments | « pkg/analyzer/test/generated/incremental_resolver_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698