@@ -26,7 +26,7 @@ impl<'a> Builtins<'a> {
26
26
"defineProperty" => self . create_object_define_property_impl( ) ,
27
27
} ) ;
28
28
29
- self . globals . borrow_mut ( ) . insert ( "Object" , object) ;
29
+ self . globals . borrow_mut ( ) . insert ( "Object" , object. into ( ) ) ;
30
30
}
31
31
32
32
fn create_object_assign_impl ( & self ) -> Entity < ' a > {
@@ -76,7 +76,7 @@ impl<'a> Builtins<'a> {
76
76
}
77
77
}
78
78
79
- analyzer. factory . computed ( array, deps)
79
+ analyzer. factory . computed ( array. into ( ) , deps)
80
80
} )
81
81
}
82
82
@@ -91,7 +91,7 @@ impl<'a> Builtins<'a> {
91
91
array. init_rest ( value) ;
92
92
}
93
93
94
- analyzer. factory . computed ( array, deps)
94
+ analyzer. factory . computed ( array. into ( ) , deps)
95
95
} )
96
96
}
97
97
@@ -106,10 +106,10 @@ impl<'a> Builtins<'a> {
106
106
let entry = analyzer. new_empty_array ( ) ;
107
107
entry. push_element ( key. get_to_string ( analyzer) ) ;
108
108
entry. push_element ( value) ;
109
- array. init_rest ( entry) ;
109
+ array. init_rest ( entry. into ( ) ) ;
110
110
}
111
111
112
- analyzer. factory . computed ( array, deps)
112
+ analyzer. factory . computed ( array. into ( ) , deps)
113
113
} )
114
114
}
115
115
0 commit comments