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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 2908153003: It's alive! (Closed)
Patch Set: Updated cf. comments Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/deferred_load.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index c1387a68ba9a8e1136c05e764744e9381f657b57..2557a03400ae751a2bbcf868f809959d223ed5b0 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -538,7 +538,7 @@ class Elements {
return isLocal(element);
}
- static String reconstructConstructorNameSourceString(Element element) {
+ static String reconstructConstructorNameSourceString(FunctionEntity element) {
if (element.name == '') {
return element.enclosingClass.name;
} else {
@@ -546,8 +546,8 @@ class Elements {
}
}
- // TODO(johnniwinther): Remove this method.
- static String reconstructConstructorName(Element element) {
+ // TODO(johnniwinther): Move this (other similar) to an entity_utils library.
+ static String reconstructConstructorName(FunctionEntity element) {
String className = element.enclosingClass.name;
if (element.name == '') {
return className;
« no previous file with comments | « pkg/compiler/lib/src/deferred_load.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698