Skip to content

Commit 20d4473

Browse files
committed
fix errors from rebase
1 parent 61b8e1d commit 20d4473

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

nova_vm/src/builtin_strings

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ any
3939
apply
4040
arguments
4141
Array
42-
#[cfg(feature="temporal")]auto
4342
Array Iterator
4443
#[cfg(feature = "array-buffer")]ArrayBuffer
4544
#[cfg(feature = "math")]asin

nova_vm/src/ecmascript/builtins/temporal.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use crate::{
2222
options::{get_rounding_increment_option, get_rounding_mode_option},
2323
},
2424
execution::{Agent, JsResult, Realm, agent::ExceptionType},
25-
types::{BUILTIN_STRING_MEMORY, IntoValue, Number, Object, Value},
25+
types::{BUILTIN_STRING_MEMORY, IntoValue, Object, Value},
2626
},
2727
engine::{
2828
context::{Bindable, GcScope, NoGcScope, trivially_bindable},
@@ -162,6 +162,7 @@ pub(crate) fn get_temporal_fractional_second_digits_option<'gc>(
162162
}
163163
// 5. Let digitCount be floor(ℝ(digitsValue)).
164164
let digit_count = digits_value
165+
.unbind()
165166
.to_number(agent, gc.reborrow())
166167
.unbind()?
167168
.bind(gc.nogc());

nova_vm/src/ecmascript/builtins/temporal/instant/instant_prototype.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use crate::{
3333
types::{BUILTIN_STRING_MEMORY, BigInt, IntoValue, Object, PropertyKey, String, Value},
3434
},
3535
engine::{
36-
context::{Bindable, GcScope, NoGcScope, trivially_bindable},
36+
context::{Bindable, GcScope, NoGcScope},
3737
rootable::Scopable,
3838
},
3939
heap::WellKnownSymbolIndexes,
@@ -411,7 +411,6 @@ impl TemporalInstantPrototype {
411411
Ok(Value::from(true))
412412
}
413413

414-
trivially_bindable!(RoundingMode);
415414
/// ### [8.3.11 Temporal.Instant.prototype.toString ( [ options ] )](https://tc39.es/proposal-temporal/#sec-temporal.instant.prototype.tostring)
416415
fn to_string<'gc>(
417416
agent: &mut Agent,
@@ -438,7 +437,7 @@ impl TemporalInstantPrototype {
438437
// 5. Let digits be ? GetTemporalFractionalSecondDigitsOption(resolvedOptions).
439438
let digits = get_temporal_fractional_second_digits_option(
440439
agent,
441-
resolved_options.unbind(),
440+
resolved_options.get(agent),
442441
gc.reborrow(),
443442
)
444443
.unbind()?;

0 commit comments

Comments
 (0)