sensorial-systems / ligen

Apache License 2.0
19 stars 3 forks source link

Method IR only parses outter types #64

Open arrudagates opened 3 years ago

arrudagates commented 3 years ago

Example:

Implementation::try_from(parse::<ItemImpl>(quote! {
                impl Test {
                    pub fn test(vec: Vec<String>);
                }
            }))

the inputs parsed become:

inputs: [
                        Parameter {
                            identifier: Identifier {
                                name: "vec",
                            },
                            type_: Compound(
                                Identifier {
                                    name: "Vec",
                                },
                            ),
                        },
                    ]
notdanilo commented 1 year ago

I need to investigate if it is still an issue.