| Index: pkg/analysis_server/test/services/completion/optype_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/optype_test.dart b/pkg/analysis_server/test/services/completion/optype_test.dart
|
| index 3e487c871d88b38a2c900b0d4b91df971b5677eb..5c2149f756d5272f14db7cb8989beb28778a7eef 100644
|
| --- a/pkg/analysis_server/test/services/completion/optype_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/optype_test.dart
|
| @@ -207,6 +207,31 @@ class OpTypeTest {
|
| assertOpType(returnValue: true, typeNames: true, voidReturn: true);
|
| }
|
|
|
| + test_Block_final() {
|
| + addTestSource('main() {final ^}');
|
| + assertOpType(typeNames: true);
|
| + }
|
| +
|
| + test_Block_final2() {
|
| + addTestSource('main() {final S^ v;}');
|
| + assertOpType(typeNames: true);
|
| + }
|
| +
|
| + test_Block_final3() {
|
| + addTestSource('main() {final ^ v;}');
|
| + assertOpType(typeNames: true);
|
| + }
|
| +
|
| + test_Block_final_final() {
|
| + addTestSource('main() {final ^ final S x;}');
|
| + assertOpType(typeNames: true);
|
| + }
|
| +
|
| + test_Block_final_final2() {
|
| + addTestSource('main() {final S^ final S x;}');
|
| + assertOpType(typeNames: true);
|
| + }
|
| +
|
| test_Block_identifier_partial() {
|
| addTestSource('class X {a() {var f; {var x;} D^ var r;} void b() { }}');
|
| assertOpType(returnValue: true, typeNames: true, voidReturn: true);
|
|
|