Skip to content

Allow redundant verbs in a single Verb directive #296

@erkyrath

Description

@erkyrath

PunyInform has the line

Verb 'pronoun' 'pronouns' * -> Pronouns;

This now throws an error in v3 because the verbs collide:

Error: Two different verb definitions refer to "pronoun"

If it were on two lines, it would only be a warning:

Verb 'pronoun' * -> Pronouns;
Verb 'pronouns' * -> Pronouns;

Warning: This verb definition refers to "pronoun", which has already been defined. Use "Extend last" instead.

(If you use "Extend last" then there's no warning at all, but you get a redundant line in the grammar table.)

Arguably the single-line form should be accepted without even a warning. Just ignore the redundant verb word.

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