File tree 2 files changed +2
-15
lines changed
sdk/lib/_internal/js_dev_runtime/private 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 6
6
library dart._runtime;
7
7
8
8
import 'dart:async' ;
9
- import 'dart:collection' ;
10
-
11
9
import 'dart:_debugger' show stackTraceMapper, trackCall;
12
10
import 'dart:_foreign_helper'
13
11
show
@@ -18,8 +16,7 @@ import 'dart:_foreign_helper'
18
16
JS_GET_NAME,
19
17
JSExportName,
20
18
rest,
21
- TYPE_REF,
22
- spread;
19
+ TYPE_REF;
23
20
import 'dart:_interceptors'
24
21
show
25
22
JavaScriptBigInt,
@@ -44,33 +41,28 @@ import 'dart:_js_helper'
44
41
getRtiForRecord,
45
42
ImmutableMap,
46
43
ImmutableSet,
47
- JsLinkedHashMap,
48
44
jsObjectGetPrototypeOf,
49
45
jsObjectSetPrototypeOf,
50
46
NoReifyGeneric,
51
47
notNull,
52
48
Primitives,
53
49
PrivateSymbol,
54
50
ReifyFunctionTypes,
55
- TypeErrorImpl,
56
- undefined;
51
+ TypeErrorImpl;
57
52
import 'dart:_js_shared_embedded_names' ;
58
53
import 'dart:_rti' as rti
59
54
show
60
55
bindingRtiFromList,
61
56
constructorRtiCachePropertyName,
62
57
createRuntimeType,
63
- findType,
64
58
getFunctionParametersForDynamicChecks,
65
59
getGenericFunctionBounds,
66
- getLegacyErasedRti,
67
60
getRecordTypeElementTypes,
68
61
getRecordTypeShapeKey,
69
62
instanceType,
70
63
instantiatedGenericFunctionType,
71
64
interfaceTypeRecipePropertyName,
72
65
isGenericFunctionType,
73
- isNullable,
74
66
isRecordType,
75
67
isSubtype,
76
68
Rti,
Original file line number Diff line number Diff line change @@ -261,11 +261,6 @@ class _Rest {
261
261
262
262
const _Rest rest = _Rest ();
263
263
264
- dynamic spread (args) {
265
- throw StateError ('The spread function cannot be called, '
266
- 'it should be compiled away.' );
267
- }
268
-
269
264
/// Reads an embedded global.
270
265
///
271
266
/// The [name] should be a constant defined in the `_js_shared_embedded_names`
You can’t perform that action at this time.
0 commit comments