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.
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.