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

Side by Side Diff: pkg/compiler/lib/src/js_backend/backend_helpers.dart

Issue 2791993002: Fix dart2js warnings and add test to ensure it stays clean. (Closed)
Patch Set: Address comments and fix duplicated library names. Created 3 years, 8 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) 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 dart2js.js_backend.helpers; 5 library dart2js.js_backend.helpers;
6 6
7 import '../common.dart';
8 import '../common/names.dart' show Identifiers, Uris; 7 import '../common/names.dart' show Identifiers, Uris;
9 import '../common_elements.dart' show CommonElements, ElementEnvironment; 8 import '../common_elements.dart' show CommonElements, ElementEnvironment;
10 import '../elements/elements.dart' show PublicName; 9 import '../elements/elements.dart' show PublicName;
11 import '../elements/entities.dart'; 10 import '../elements/entities.dart';
12 import '../library_loader.dart' show LoadedLibraries; 11 import '../library_loader.dart' show LoadedLibraries;
13 import '../universe/call_structure.dart' show CallStructure; 12 import '../universe/call_structure.dart' show CallStructure;
14 import '../universe/selector.dart' show Selector; 13 import '../universe/selector.dart' show Selector;
15 import 'constant_system_javascript.dart'; 14 import 'constant_system_javascript.dart';
16 import 'js_backend.dart'; 15 import 'js_backend.dart';
17 16
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 /// The class for patch annotations defined in dart:_js_helper. 777 /// The class for patch annotations defined in dart:_js_helper.
779 ClassEntity get patchAnnotationClass => 778 ClassEntity get patchAnnotationClass =>
780 _patchAnnotationClass ??= _findHelperClass('_Patch'); 779 _patchAnnotationClass ??= _findHelperClass('_Patch');
781 780
782 ClassEntity _nativeAnnotationClass; 781 ClassEntity _nativeAnnotationClass;
783 782
784 /// The class for native annotations defined in dart:_js_helper. 783 /// The class for native annotations defined in dart:_js_helper.
785 ClassEntity get nativeAnnotationClass => 784 ClassEntity get nativeAnnotationClass =>
786 _nativeAnnotationClass ??= _findHelperClass('Native'); 785 _nativeAnnotationClass ??= _findHelperClass('Native');
787 } 786 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/codegen_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698