Last night I was working on updates to my SimpleShell library, adding some code. I went to compile and got a “SimpleShell” undefined. The code in the online editor looked fine. But when I closed the cpp and h files, both were blank. This isn’t the first time I’ve seen this happen, either. Several other times I’ve seen contents of files erased.
Here you can see the revision where all the lines in one of the files was removed:
I’ll post an update if/when I learn more about when/why this is happening.