avm2: `Any` namespaces are represented as `*` in `QName`'s string form

This commit is contained in:
David Wendt 2021-09-29 21:38:37 -04:00 committed by kmeisthax
parent 294b0fc53e
commit 273872e2ab
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ impl<'gc> QName<'gc> {
Namespace::Private(s) if s != "" => {
AvmString::new(mc, format!("{}::{}", &*s, &*self.name))
}
Namespace::Any => AvmString::new(mc, format!("*::{}", &*self.name)),
_ => self.name,
}
}