Skip to content

Multiline microflow expressions lose source whitespace during parse/exec #322

@hjotha

Description

@hjotha

Problem:

Multiline declaration and log-template expressions can be rebuilt from parsed expression nodes, which normalizes source whitespace and collapses line breaks. Log template parameter gaps can also lose newline-only whitespace between parameters.

Expected:

For source-sensitive multiline expressions, the visitor should retain original expression text and the executor should serialize it back.

Impact:

Roundtrip output loses intentional user layout and generates cosmetic mismatch noise.

Proposed fix:

Introduce a small source-preserving expression wrapper and use it for declare/log expression positions that need source retention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions