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

Side by Side Diff: test/piece2.dart

Issue 1016913002: pkg/smoke: support latest analyzer version and formatted code (Closed) Base URL: https://github.com/dart-lang/smoke@master
Patch Set: updates Created 5 years, 9 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 | « test/piece1.dart ('k') | test/static_in_pieces_test.dart » ('j') | 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 /// Part of the static_in_pieces_test 5 /// Part of the static_in_pieces_test
6 library smoke.test.piece2; 6 library smoke.test.piece2;
7 7
8 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD; 8 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD;
9 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration; 9 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration;
10 import 'common.dart' as smoke_0; 10 import 'common.dart' as smoke_0;
11 11
12 final configuration = new StaticConfiguration( 12 final configuration = new StaticConfiguration(
13 checkedMode: false, 13 checkedMode: false, getters: {#j2: (o) => o.j2,}, setters: {
14 getters: { 14 #j2: (o, v) {
15 #j2: (o) => o.j2, 15 o.j2 = v;
16 }, 16 },
17 setters: { 17 },
18 #j2: (o, v) { o.j2 = v; },
19 },
20 parents: {}, 18 parents: {},
21 declarations: { 19 declarations: {
22 smoke_0.A: {}, 20 smoke_0.A: {},
23 smoke_0.B: { 21 smoke_0.B: {#a: const Declaration(#a, smoke_0.A),},
24 #a: const Declaration(#a, smoke_0.A), 22 smoke_0.K: {
25 }, 23 #k: const Declaration(#k, int,
26 smoke_0.K: { 24 annotations: const [const smoke_0.AnnotC(named: true)]),
27 #k: const Declaration(#k, int, annotations: const [const smoke_0.AnnotC( named: true)]), 25 #k2: const Declaration(#k2, int,
28 #k2: const Declaration(#k2, int, annotations: const [const smoke_0.Annot C()]), 26 annotations: const [const smoke_0.AnnotC()]),
29 }, 27 },
30 }, 28 },
31 staticMethods: { 29 staticMethods: {smoke_0.A: {#staticInc: smoke_0.A.staticInc,},},
32 smoke_0.A: { 30 names: {#i: r'i',});
33 #staticInc: smoke_0.A.staticInc,
34 },
35 },
36 names: {
37 #i: r'i',
38 });
OLDNEW
« no previous file with comments | « test/piece1.dart ('k') | test/static_in_pieces_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698