Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart |
index a19c5af599db97cde1ac904535a6ca6e2541551a..23e1a2fd87769019481386a133ed9ea8beba8e05 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart |
@@ -110,7 +110,7 @@ _checkPrimitiveType(obj) { |
getFunctionType(obj) { |
// TODO(vsm): Encode this properly on the function for Dart-generated code. |
- var args = JS('', 'Array(#.length).fill(#)', obj, dynamic); |
+ var args = JS('List', 'Array(#.length).fill(#)', obj, dynamic); |
return fnType(bottom, args, JS('', 'void 0')); |
} |