| Index: tests/language/assign_static_type_test.dart
|
| diff --git a/tests/language/assign_static_type_test.dart b/tests/language/assign_static_type_test.dart
|
| index 190973ae6c47e695dd63e628413dfd59ae45af0a..0d1c30785a81bbb7f7c1ca71f0bddc1b266fb06e 100644
|
| --- a/tests/language/assign_static_type_test.dart
|
| +++ b/tests/language/assign_static_type_test.dart
|
| @@ -1,6 +1,6 @@
|
| -// Copyright (c) 2012, 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.
|
| +// Copyright (c) 2012, 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.
|
|
|
| // This test insures that statically initialized variables, fields, and parameters
|
| // report static type warnings.
|
| @@ -8,7 +8,7 @@
|
| int a = "String"; /// 01: static type warning, dynamic type error
|
|
|
| class A {
|
| - static final int c = "String"; /// 02: static type warning, dynamic type error
|
| + static const int c = "String"; /// 02: static type warning, dynamic type error
|
| final int d = "String"; /// 03: static type warning, dynamic type error
|
| int e = "String"; /// 04: static type warning, dynamic type error
|
| A() {
|
|
|