avm2: Fix defining const slots on global object
This commit is contained in:
parent
18c53694cb
commit
901d84b2cf
|
@ -559,7 +559,7 @@ impl<'gc> VTable<'gc> {
|
||||||
let new_slot_id = write.default_slots.len() as u32 - 1;
|
let new_slot_id = write.default_slots.len() as u32 - 1;
|
||||||
write
|
write
|
||||||
.resolved_traits
|
.resolved_traits
|
||||||
.insert(name, Property::new_slot(new_slot_id));
|
.insert(name, Property::new_const_slot(new_slot_id));
|
||||||
write
|
write
|
||||||
.slot_classes
|
.slot_classes
|
||||||
.push(PropertyClass::Class(class.inner_class_definition()));
|
.push(PropertyClass::Class(class.inner_class_definition()));
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
num_ticks = 1
|
num_ticks = 1
|
||||||
known_failure = true
|
|
||||||
|
|
Loading…
Reference in New Issue