| 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 44b7392e31461084b5e78803877f7fde38b51cde..a89326b1d689608cdd0a6393e801f9f52b773851 100644
|
| --- a/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/js_interop_analysis.dart
|
| @@ -9,7 +9,7 @@ import '../common.dart';
|
| import '../constants/values.dart'
|
| show ConstantValue, ConstructedConstantValue, StringConstantValue;
|
| import '../elements/resolution_types.dart'
|
| - show DartType, DynamicType, FunctionType;
|
| + show ResolutionDartType, ResolutionDynamicType, ResolutionFunctionType;
|
| import '../diagnostics/messages.dart' show MessageKind;
|
| import '../elements/elements.dart'
|
| show
|
| @@ -188,11 +188,13 @@ class JsInteropAnalysis {
|
| return new jsAst.Block(statements);
|
| }
|
|
|
| - FunctionType buildJsFunctionType() {
|
| + ResolutionFunctionType buildJsFunctionType() {
|
| // 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 ResolutionFunctionType.synthesized(
|
| + const ResolutionDynamicType(),
|
| + [],
|
| + new List<ResolutionDartType>.filled(16, const ResolutionDynamicType()));
|
| }
|
| }
|
|
|