Description is in the numbered steps and code snippet
Numbered Steps to Reproduce Problem:
1. Make a new code file in a current or new environment.
2. Copy and Paste the code below into the file
3. Click->Build->Compile
4. See an inconsistent indentation error that shouldn't be there, or that the "\\"(there is no article in the reference about it) shouldn't cause the next line to show as commented out.
Code Snippet (if applicable) to Reproduce Problem:
proc
testProc()
//var //Used to set view size based on the size of the map\\
tmp //The tmp causes an inconsistent indentation error even it shows up commented out because of the "\\" above^
return
Expected Results:
Either the compiler ignore the tmp or not falsely comment out the next line or properly comment out the next line.
Actual Results:
The compiler recognizes the tmp even though its shown commented out.
Does the problem occur:
Every time? Or how often?
Every Time
In other games?
N/A
In other user accounts?
N/A
On other computers?
N/A
When does the problem NOT occur?
Never
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
No time to test right now.
Workarounds:
None that I know of.
There are several simple workarounds. One is to comment out the tmp line. Another is to combine var and tmp into one line. In addition, you can avoid using \\ at the end of a line as it serves no purpose.
To be clear there is an actual bug here; the bug is in the fact that DM is not showing you the line the way the compiler sees it.