| 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 7c6becec92feec3e38b318e920735725e0697e53..3dadae954ae457d7bded0c93d426596945a4409b 100644
|
| --- a/pkg/analyzer/test/generated/resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/resolver_test.dart
|
| @@ -12853,18 +12853,6 @@ f(p) {
|
| code, typeProvider.dynamicType, typeProvider.intType);
|
| }
|
|
|
| - void fail_finalPropertyInducingVariable_classMember_instance_unprefixed() {
|
| - String code = r'''
|
| -class A {
|
| - final v = 0;
|
| - m() {
|
| - v; // marker
|
| - }
|
| -}''';
|
| - _assertTypeOfMarkedExpression(
|
| - code, typeProvider.dynamicType, typeProvider.intType);
|
| - }
|
| -
|
| void fail_finalPropertyInducingVariable_classMember_static() {
|
| addNamedSource(
|
| "/lib.dart",
|
| @@ -13187,6 +13175,18 @@ main(CanvasElement canvas) {
|
| expect(identifier.propagatedType.name, "CanvasRenderingContext2D");
|
| }
|
|
|
| + void test_finalPropertyInducingVariable_classMember_instance_unprefixed() {
|
| + String code = r'''
|
| +class A {
|
| + final v = 0;
|
| + m() {
|
| + v; // marker
|
| + }
|
| +}''';
|
| + _assertTypeOfMarkedExpression(
|
| + code, typeProvider.dynamicType, typeProvider.intType);
|
| + }
|
| +
|
| void test_forEach() {
|
| String code = r'''
|
| main() {
|
|
|