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

Side by Side Diff: tests/compiler/dart2js/inference/data/list.dart

Issue 3007903002: Support annotations on assignment and postfix operations (Closed)
Patch Set: Updated cf. comments Created 3 years, 3 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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /*main:[null]*/ 5 /*element: main:[null]*/
6 main() { 6 main() {
7 emptyList(); 7 emptyList();
8 nullList(); 8 nullList();
9 constList(); 9 constList();
10 constNullList(); 10 constNullList();
11 } 11 }
12 12
13 /*emptyList:Container mask: [empty] length: 0 type: [exact=JSExtendableArray]*/ 13 /*element: emptyList:Container mask: [empty] length: 0 type: [exact=JSExtendable Array]*/
14 emptyList() => []; 14 emptyList() => [];
15 15
16 /*constList:Container mask: [empty] length: 0 type: [exact=JSUnmodifiableArray]* / 16 /*element: constList:Container mask: [empty] length: 0 type: [exact=JSUnmodifiab leArray]*/
17 constList() => const []; 17 constList() => const [];
18 18
19 /*nullList:Container mask: [null] length: 1 type: [exact=JSExtendableArray]*/ 19 /*element: nullList:Container mask: [null] length: 1 type: [exact=JSExtendableAr ray]*/
20 nullList() => [null]; 20 nullList() => [null];
21 21
22 /*constNullList:Container mask: [null] length: 1 type: [exact=JSUnmodifiableArra y]*/ 22 /*element: constNullList:Container mask: [null] length: 1 type: [exact=JSUnmodif iableArray]*/
23 constNullList() => const [null]; 23 constNullList() => const [null];
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/inference/data/async_marker.dart ('k') | tests/compiler/dart2js/inference/data/return.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698