-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftopic: preprocessorRelated to sketch preprocessingRelated to sketch preprocessingtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Correct me if this is an IDE bug.
If a class exists with the same function name of a normal function it will throw an error. Very confusing. just try:
void setup() {}
void loop() {
rainbow();
}
class CTest {
public:
void rainbow() {
Serial.println("test2");
}
};
void rainbow() {
Serial.println("test");
}
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftopic: preprocessorRelated to sketch preprocessingRelated to sketch preprocessingtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project