Action block output CFC error on VAR connection same TYPE
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 362
- Forks
- 75
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 35
Description
we have the the following CFC code programm
PROGRAM program_0
VAR_INPUT
in1,in2,in3,in4 : INT;
END_VAR
VAR_OUTPUT
out1,out2,out3 : INT;
END_VAR
VAR
x1, x2 : INT;
END_VAR
in the diagram if we connect x1 to the action block output "out1" (w/ or w/o input connection), we have the follwoing compile error
: error: Invalid assignment: cannot assign 'program_0.action1' to 'INT'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied CFC program and the connection from x1 to the action block output out1, then trace the compiler entry point that reports "Invalid assignment". No source file or test is named in the issue; done means the same-type connection compiles without assigning the action block itself to INT.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100