sdk-builder: filter out methods that have an empty name because those exist somehow

This commit is contained in:
Janis 2023-06-29 22:41:46 +02:00
parent 6f8a49dc32
commit 0a0e72f30d

View file

@ -609,6 +609,7 @@ pub mod rust {
let methods = class
.methods
.iter()
.filter(|method| !method.unique_name().is_empty())
.map(|method| self.generate_method(name, method))
.collect::<Result<Vec<_>, _>>()?;