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

Side by Side Diff: tests/compiler/dart2js/data/mirrors_helper.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * This file is read by 'mirrors_test.dart'. 6 * This file is read by 'mirrors_test.dart'.
7 */ 7 */
8 8
9 library mirrors_helper; 9 library mirrors_helper;
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 var field1; 49 var field1;
50 int _field2; 50 int _field2;
51 final String field3 = "field3"; 51 final String field3 = "field3";
52 52
53 int get field2 => _field2; 53 int get field2 => _field2;
54 void set field2(int value) { 54 void set field2(int value) {
55 _field2 = value; 55 _field2 = value;
56 } 56 }
57 } 57 }
58 58
59 // ignore: UNUSED_ELEMENT
59 class _PrivateClass { 60 class _PrivateClass {
60 var _privateField; 61 var _privateField;
62 // ignore: UNUSED_ELEMENT
61 get _privateGetter => _privateField; 63 get _privateGetter => _privateField;
64 // ignore: UNUSED_ELEMENT
62 void set _privateSetter(value) => _privateField = value; 65 void set _privateSetter(value) => _privateField = value;
66 // ignore: UNUSED_ELEMENT
63 void _privateMethod() {} 67 void _privateMethod() {}
64 _PrivateClass._privateConstructor(); 68 _PrivateClass._privateConstructor();
65 factory _PrivateClass._privateFactoryConstructor() => null; 69 factory _PrivateClass._privateFactoryConstructor() => null;
66 } 70 }
67 71
68 const metadata = const Metadata(null); 72 const metadata = const Metadata(null);
69 73
70 class Metadata { 74 class Metadata {
71 final data; 75 final data;
72 const Metadata(this.data); 76 const Metadata(this.data);
73 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698