Skip to content

Getting "The type is unrecognized" if spaces are added #125

Description

@khmarochos

Hello,

First of all, thank you very much for your contribution. I found it about a half of a year ago, but now I can't imagine Perl5-development without using the Method::Signatures module.

I'd like to show you something and, I believe, you'll find it interesting. Sometimes I need use something like that:

method some_method(
    HashRef                 $some_hashref,
    XML::LibXML::Node       $some_xml_libxml_node,
    Bool                    $some_bool
) { ... }

In some of these cases I get the following error message:

In call to Some::Module::some_method(), the type XML::LibXML::Node       is unrecognized (perhaps you forgot to load it?)

If I remove spaces between XML::LibXML::Node and the parameter's name, everything's fine, but, of course, it would be nice to have these spaces where they are :)

Would you be so kind as to look at this issue when you have some time?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions