diff --git a/rbx_reflector/src/cli/generate.rs b/rbx_reflector/src/cli/generate.rs index 8cefc0f3..fa8ca7bd 100644 --- a/rbx_reflector/src/cli/generate.rs +++ b/rbx_reflector/src/cli/generate.rs @@ -227,12 +227,18 @@ fn apply_dump(database: &mut ReflectionDatabase, dump: &Dump) -> anyhow::Result< // are usually only present in Roblox Studio // settings files. They are not used otherwise and // can safely be ignored. - (None, PropertyKind::Canonical { - serialization: PropertySerialization::Serializes - }) if type_name != "QDir" && type_name != "QFont" => bail!( + ( + None, + PropertyKind::Canonical { + serialization: PropertySerialization::Serializes, + }, + ) if type_name != "QDir" && type_name != "QFont" => { + log::warn!( "Property {}.{} serializes, but its data type ({}) is unimplemented", dump_class.name, dump_property.name, type_name - ), + ); + continue; + } // The data type does not have a corresponding a // VariantType, and it does not serialize (with QDir @@ -241,7 +247,11 @@ fn apply_dump(database: &mut ReflectionDatabase, dump: &Dump) -> anyhow::Result< // need to know about data types that are never // serialized. (None, _) => { - ignored_properties.push((&dump_class.name, &dump_property.name, type_name)); + ignored_properties.push(( + &dump_class.name, + &dump_property.name, + type_name, + )); continue; } }