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

Unified Diff: pkg/compiler/lib/src/js_backend/js_interop_analysis.dart

Issue 2119193002: Compute correct names for closures in operator methods. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
diff --git a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
index 83f6284c5d7fc3709970090767a6441e41baed4f..74b10ab511600fe899bc3c788862d1adac4e3a5e 100644
--- a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
+++ b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
@@ -8,11 +8,7 @@ library compiler.src.js_backend.js_interop_analysis;
import '../common.dart';
import '../constants/values.dart'
show ConstantValue, ConstructedConstantValue, StringConstantValue;
-import '../dart_types.dart'
- show
- DartType,
- DynamicType,
- FunctionType;
+import '../dart_types.dart' show DartType, DynamicType, FunctionType;
Johnni Winther 2016/07/04 13:40:36 dartfmt
import '../diagnostics/messages.dart' show MessageKind;
import '../elements/elements.dart'
show
@@ -195,9 +191,7 @@ class JsInteropAnalysis {
// TODO(jacobr): consider using codegenWorld.isChecks to determine the
// range of positional arguments that need to be supported by JavaScript
// function types.
- return new FunctionType.synthesized(
- const DynamicType(),
- [],
- new List<DartType>.filled(16, const DynamicType()));
+ return new FunctionType.synthesized(const DynamicType(), [],
+ new List<DartType>.filled(16, const DynamicType()));
}
}

Powered by Google App Engine
This is Rietveld 408576698