chore: Fix formatting

This commit is contained in:
EmperorBale 2021-04-12 02:06:34 -07:00 committed by Mike Welsh
parent f459e18b1a
commit 17acebb108
1 changed files with 1 additions and 1 deletions

View File

@ -2284,7 +2284,7 @@ impl<'a, 'gc, 'gc_context> Activation<'a, 'gc, 'gc_context> {
fn op_as_type_late(&mut self) -> Result<FrameControl<'gc>, Error> {
let class = self.context.avm2.pop().coerce_to_object(self)?;
let value = self.context.avm2.pop().coerce_to_object(self)?;
if class.as_class().is_none() {
return Err("TypeError: The right-hand side of operator must be a class.".into());
}