Closed
Description
Make a project that includes a .h file, for example:
#include "foo.h"
void setup ()
{
int a = foo;
} // end of setup
void loop () {}
And foo.h contains something, for example:
int foo = 42;
Compile this (it should succeed).
Now delete the tab foo.h from the IDE.
Compile again. It succeeds, but should not, as foo.h is now missing. It is still in the temporary folder, and even though it is not copied from the development area to the temporary folder, since it is still there, the compile succeeds.
This can cause confusion as unexpected or out-of-date .h files are included in projects during the development process.
Solution: The IDE should delete files from the working (temporary) folder when the file of the same name is deleted from the IDE workspace.