Browse Source

Fix compilation error

pull/1470/head
Halid Odat 3 years ago committed by GitHub
parent
commit
206f0e1e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa/src/builtins/regexp/mod.rs

2
boa/src/builtins/regexp/mod.rs

@ -1598,7 +1598,7 @@ impl RegExp {
let splitter = constructor let splitter = constructor
.as_object() .as_object()
.expect("SpeciesConstructor returned non Object") .expect("SpeciesConstructor returned non Object")
.construct(&[Value::from(rx), new_flags.into()], &constructor, context)?; .construct(&[JsValue::from(rx), new_flags.into()], &constructor, context)?;
// 11. Let A be ! ArrayCreate(0). // 11. Let A be ! ArrayCreate(0).
let a = Array::array_create(0, None, context).unwrap(); let a = Array::array_create(0, None, context).unwrap();

Loading…
Cancel
Save