Skip to content

Support expressions in string template parameters #60

Open
@coolbluewater

Description

@coolbluewater

I've tried ${variable_name} inside run_cmd!, that works fine.
Unfortunately ${foo.bar()} produces an error.
It's easy to work around this by setting a variable to the expression and using the variable as a template parameter.
However, this reduces the effectiveness of the macro in making the code neater.

So, be great if this could be added. Thanks for the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions