Skip to content

vol2: BruteForceCompiledEngine.findHead() returns only the first FN/IFN body element #6723

@mdproctor

Description

@mdproctor

Found during code review of #6718

BruteForceCompiledEngine.findHead() returns the first FN or IFN GroupElement in the body. The DSL permits multiple fn/ifn at arbitrary body positions, but the engine silently drops all but the first.

For now BruteForce is explicitly temporary. Document or enforce single-head constraint, or iterate all FN/IFN nodes and build a processor per head.

Refs #6718

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions