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

Side by Side Diff: pkg/analysis_server/test/services/correction/fix_test.dart

Issue 2123333002: Issue 26821. Don't add 'void' return type for setters when lint 'avoid_return_types_on_setters' is … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Never generate 'void' return type for setters. Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/lib/src/services/correction/fix_internal.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.services.correction.fix; 5 library test.services.correction.fix;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; 9 import 'package:analysis_server/plugin/edit/fix/fix_core.dart';
10 import 'package:analysis_server/plugin/edit/fix/fix_dart.dart'; 10 import 'package:analysis_server/plugin/edit/fix/fix_dart.dart';
(...skipping 2613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2624 set s1(x) { 2624 set s1(x) {
2625 // TODO: implement s1 2625 // TODO: implement s1
2626 } 2626 }
2627 2627
2628 @override 2628 @override
2629 set s2(int x) { 2629 set s2(int x) {
2630 // TODO: implement s2 2630 // TODO: implement s2
2631 } 2631 }
2632 2632
2633 @override 2633 @override
2634 void set s3(String x) { 2634 set s3(String x) {
2635 // TODO: implement s3 2635 // TODO: implement s3
2636 } 2636 }
2637 } 2637 }
2638 '''); 2638 ''');
2639 } 2639 }
2640 2640
2641 test_createNoSuchMethod() async { 2641 test_createNoSuchMethod() async {
2642 resolveTestUnit(''' 2642 resolveTestUnit('''
2643 abstract class A { 2643 abstract class A {
2644 m1(); 2644 m1();
(...skipping 2684 matching lines...) Expand 10 before | Expand all | Expand 10 after
5329 @override 5329 @override
5330 void t() { } 5330 void t() { }
5331 } 5331 }
5332 '''); 5332 ''');
5333 } 5333 }
5334 5334
5335 void verifyResult(String expectedResult) { 5335 void verifyResult(String expectedResult) {
5336 expect(resultCode, expectedResult); 5336 expect(resultCode, expectedResult);
5337 } 5337 }
5338 } 5338 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/services/correction/fix_internal.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698