Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enum field withs with inner annotation fail if other field is used #36

@olaf-hochherz-work

Description

@olaf-hochherz-work

if one annotates the inside of a field in an Enum then it will block evaluation of follow up fields on failure.

#[derive(FromPest, Debug, Clone,)]
#[pest_ast(rule(Rule::Formula))]
pub enum Formula {
    Idfr(#[pest_ast(inner(with(span_into_string)))] String),
   OtherField(Other)
}

I have a commit that solves the issue
65a77e1
are you interested in a pr?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions