| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 // test w/ `dart test/util/solo_test.dart public_member_api_docs` | 5 // test w/ `dart test/util/solo_test.dart public_member_api_docs` |
| 6 | 6 |
| 7 abstract class A //LINT | 7 abstract class A //LINT |
| 8 { | 8 { |
| 9 static const Z = 1; //LINT | 9 static const Z = 1; //LINT |
| 10 static int _Z = 13; //OK | 10 static int _Z = 13; //OK |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 F //OK | 43 F //OK |
| 44 } | 44 } |
| 45 | 45 |
| 46 /// A D. | 46 /// A D. |
| 47 abstract class D extends A { | 47 abstract class D extends A { |
| 48 /// Make a D. | 48 /// Make a D. |
| 49 D(); | 49 D(); |
| 50 | 50 |
| 51 @override | 51 @override |
| 52 a() => null; //OK | 52 a() => null; //OK |
| 53 |
| 54 c() => null; // Un-annotated override -- OK! |
| 53 } | 55 } |
| 54 | 56 |
| 55 foo() => null; //LINT | 57 foo() => null; //LINT |
| 56 | 58 |
| 57 /// Bar. | 59 /// Bar. |
| 58 bar() => null; //OK | 60 bar() => null; //OK |
| 59 | 61 |
| 60 int g; //LINT | 62 int g; //LINT |
| 61 | 63 |
| 62 int _h; //OK | 64 int _h; //OK |
| 63 | 65 |
| 64 int gg, //LINT | 66 int gg, //LINT |
| 65 _gg; //OK | 67 _gg; //OK |
| OLD | NEW |