-
-
Notifications
You must be signed in to change notification settings - Fork 480
Closed as not planned
Labels
conclusion: invalidIssue/PR not validIssue/PR not validtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
The Functions inside Ino files aren't find when called form the main sketch,
To reproduce
- open a new file tab
- write a function
int sum (int a , int b ){ return a+ b ; }
- try to call it from the main sketch with
Serial.println(sum(2,3));
you will get "was not declared in this scope" error
Expected behavior
to compile
Arduino IDE version
2.0.0 RC 9.2
Operating system
Windows
Operating system version
11
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
conclusion: invalidIssue/PR not validIssue/PR not validtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project