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

Unified Diff: sdk/lib/_internal/compiler/implementation/closure.dart

Issue 11438044: Remove some warnings and errors from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
Index: sdk/lib/_internal/compiler/implementation/closure.dart
diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart
index 3d5feef0376368bca40e3c67adf84a8c80ed7124..e0b895a55a7576f3cd49a83d0c52919c165e018c 100644
--- a/sdk/lib/_internal/compiler/implementation/closure.dart
+++ b/sdk/lib/_internal/compiler/implementation/closure.dart
@@ -505,9 +505,9 @@ class ClosureTranslator extends Visitor {
}
ClosureClassMap globalizeClosure(FunctionExpression node, Element element) {
- SourceString closureName = new SourceString(closureName(element));
+ SourceString name = new SourceString(closureName(element));
ClassElement globalizedElement = new ClosureClassElement(
- closureName, compiler, element, element.getCompilationUnit());
+ name, compiler, element, element.getCompilationUnit());
FunctionElement callElement =
new FunctionElement.from(Compiler.CALL_OPERATOR_NAME,
element,

Powered by Google App Engine
This is Rietveld 408576698