Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // test w/ `dart test/util/solo_test.dart comment_references` | |
| 6 | |
| 7 /// Writes [y]. #LINT | |
| 8 void write(int x) {} | |
| 9 | |
| 10 /// [String] is OK. | |
| 11 class A { | |
| 12 /// But [zap] is not. #LINT | |
| 13 int z; | |
| 14 | |
| 15 /// Reads [x] and assigns to [z]. #OK | |
| 16 void read(int x) {} | |
| 17 | |
| 18 /// Writes [y]. #LINT | |
| 19 void write(int x) {} | |
| 20 } | |
| OLD | NEW |