try some stuff to get to the value of a parameter passed to a function (I think I found a way, but it's not working yet)

This commit is contained in:
OMGeeky
2023-07-01 23:12:13 +02:00
parent e21ba0f650
commit 85735ec25f
2 changed files with 52 additions and 19 deletions

View File

@@ -45,7 +45,7 @@ pub fn find_class_in_tree_mut<'a>(
node: &'a mut CodeObjectType,
class: &str,
) -> Option<&'a mut ClassCodeObject> {
println!("trying to find class: {} in node: {:?}", class, node);
// println!("trying to find class: {} in node: {:?}", class, node);
let children = match node {
CodeObjectType::Class(c) => {
if class.ends_with(&c.name) {