sdk-builder: filter out methods that have an empty name because those exist somehow
This commit is contained in:
parent
6f8a49dc32
commit
0a0e72f30d
|
@ -609,6 +609,7 @@ pub mod rust {
|
||||||
let methods = class
|
let methods = class
|
||||||
.methods
|
.methods
|
||||||
.iter()
|
.iter()
|
||||||
|
.filter(|method| !method.unique_name().is_empty())
|
||||||
.map(|method| self.generate_method(name, method))
|
.map(|method| self.generate_method(name, method))
|
||||||
.collect::<Result<Vec<_>, _>>()?;
|
.collect::<Result<Vec<_>, _>>()?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue