This is definetly not intended, but it’s also not unexpected
I expect you have this problem in an .ino file and not in a .cpp/.h file.
I’ve seen other users describing that some compile error (dis)appears whether or not there are blank lines or even single blanks in certain positions.
I myself recently had a problem where the preprocessor didn’t like my code because of this reason, but @Dave is the expert in this matter - he had put me straight on my problem.
One magic expression to remember in this case is #pragma SPARK_NO_PREPROCESSOR inside your .ino
Tried that and now it won’t compile for MANY reasons. That seems to have removed the basic functionality and reverted it to a very primitive form. As an example I get:
spi_test_cases.cpp:15:19: error: ‘D3’ was not declared in this scope #define MRF_TX_RX D3
Are there now other includes I should add to make up for the lack of Arduino compatibility?