Skip to content

fix(cfc): accept unary minus in data sources - #1952

Merged
volsa merged 2 commits into
masterfrom
claude/negative-expressions-datasources-4c935f
Oct 1, 2026
Merged

volsa merged 2 commits into
masterfrom
claude/negative-expressions-datasources-4c935f

Conversation

@volsa

@volsa volsa commented Sep 29, 2026

Copy link
Copy Markdown
Member

No description provided.

Problem: A data source such as `-t_inc` was rejected with E083, so a chart
could not feed a negated variable into a wire.

Solution: A data source may now hold a literal or a reference negated by a
unary minus. A data sink still rejects it, because it is no assignment target.

Refs: PRG-4763

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Build Artifacts

🐧 Linux

Artifact Link Size
plc-aarch64 Download 43.4 MB
plc-x86_64 Download 43.6 MB
deb-x86_64 Download 38.5 MB
deb-aarch64 Download 30.9 MB
stdlib Download 32.4 MB
schema Download 0.0 MB

From workflow run

🪟 Windows

Artifact Link Size
stdlib.lib Download 4.0 MB
plc.exe Download 38.4 MB
stdlib.dll Download 0.1 MB

From workflow run

@volsa
volsa marked this pull request as ready for review September 30, 2026 07:41
@github-actions

Copy link
Copy Markdown

0 findings in 3m 41s for $0.17 between f17338d (master) and e0fef04 (claude/negative-expressions-datasources-4c935f)

@github-actions

Copy link
Copy Markdown

0 findings in 24s for $0.10 between 9413775 (master) and 4b41a01 (claude/negative-expressions-datasources-4c935f)

@volsa
volsa added this pull request to the merge queue Oct 1, 2026
Merged via the queue into master with commit 5adf03e Oct 1, 2026
23 checks passed
@volsa
volsa deleted the claude/negative-expressions-datasources-4c935f branch October 1, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants