Skip to content

Reusable Invocations #60

@Emoun

Description

@Emoun

Short Description:

Provide a way for reusing duplicate! invocation code for multiple invocations

Motivation:

If we want to reuse the same invocation in multiple calls to different duplicate!s:

some_invocations_code!{
  ReUsableId
  [SomeInvocations] [That are repeated]
}

#[duplicate_item(ReUsableId)]
{...}

#[duplicate_item(ReUsableId)]
{...}

Design

It should be possible to define some code that can be used as duplicate invocation repeatedly.
It should also be possible for an invocation to use some code from a different file.

Misc:

Metadata

Metadata

Assignees

No one assigned

    Labels

    D-discussionA decision (D) has not been made yet and is open to discussionI-featureThis issue (I) regards a (potential) feature in the projectT-newTriage (T): Has yet to be reviewed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions