From 827567bb5861d807dc5e1318ebaca6957227481a Mon Sep 17 00:00:00 2001 From: David Wendt Date: Sat, 17 Oct 2020 23:02:08 -0400 Subject: [PATCH] avm2: `toString` of stage objects should work the same way as other objects --- core/src/avm2/object/stage_object.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/avm2/object/stage_object.rs b/core/src/avm2/object/stage_object.rs index c1bcaa79a..4d2869e40 100644 --- a/core/src/avm2/object/stage_object.rs +++ b/core/src/avm2/object/stage_object.rs @@ -310,10 +310,6 @@ impl<'gc> TObject<'gc> for StageObject<'gc> { .into()) } - fn to_string(&self, _mc: MutationContext<'gc, '_>) -> Result, Error> { - Ok("todo: movieclip values".into()) - } - fn value_of(&self, _mc: MutationContext<'gc, '_>) -> Result, Error> { Ok(Value::Object(Object::from(*self))) }