OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 lib1; | 5 bool lne = ![].isEmpty; //LINT [12:11] |
| 6 bool mne = !{}.isEmpty; //LINT |
| 7 bool ine = !iterable.isEmpty; //LINT |
6 | 8 |
7 import 'package:p4/lib2.dart'; | 9 bool le = [].isEmpty; |
| 10 bool me = {}.isEmpty; |
| 11 bool ie = iterable.isEmpty; |
8 | 12 |
9 import 'lib3.dart'; | 13 Iterable get iterable => []; |
10 | |
11 void test() { | |
12 f(g()); | |
13 } | |
OLD | NEW |