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

Side by Side Diff: pkg/compiler/lib/src/kernel/kelements.dart

Issue 2975513003: Fix js_model/model_test (Closed)
Patch Set: Created 3 years, 5 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 /// Entity model for elements derived from Kernel IR. 5 /// Entity model for elements derived from Kernel IR.
6 6
7 import '../elements/entities.dart'; 7 import '../elements/entities.dart';
8 import '../elements/names.dart'; 8 import '../elements/names.dart';
9 import '../elements/types.dart'; 9 import '../elements/types.dart';
10 import 'elements.dart'; 10 import 'elements.dart';
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 class KLocalFunction implements Local { 242 class KLocalFunction implements Local {
243 final String name; 243 final String name;
244 final MemberEntity memberContext; 244 final MemberEntity memberContext;
245 final Entity executableContext; 245 final Entity executableContext;
246 final FunctionType functionType; 246 final FunctionType functionType;
247 247
248 KLocalFunction( 248 KLocalFunction(
249 this.name, this.memberContext, this.executableContext, this.functionType); 249 this.name, this.memberContext, this.executableContext, this.functionType);
250 250
251 String toString() => 251 String toString() => '${kElementPrefix}local_function'
252 '${kElementPrefix}local_function(${memberContext.name}.${name ?? '<anonymo us>'})'; 252 '(${memberContext.name}.${name ?? '<anonymous>'})';
253 } 253 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698