The CLI might put the same error multiple times to the stderr #1761
Labels
topic: build-process
Related to the sketch build process
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
When compiling a broken sketch, the CLI might dump the error location multiple times to the std err. It is most likely related to how the sketch files are preprocessed and the prototype is created. (Of course, I am just guessing here 😊)
To reproduce
sketch_jun14c.ino
:sketch_jun14c.ino
:sketch_jun14c.ino
:Click to see full console output
Expected behavior
I would expect to see the following error once:
Arduino CLI version
arduino-cli Version: nightly-20220614 Commit: 76fab32 Date: 2022-06-14T08:23:46Z
Operating system
macOS
Operating system version
12.3.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: