I’m not quite sure of what’s the context for this, but anyways, compiling sometimes implies sacrificing readability and specially debuggability. In most cases, it isn’t about making your compiled code match the original one but having a good mental map of what you’re doing.
In this case, the error may be from the x being something other than a number.
There’s no practical way of doing that. You can try and rewrite the code in some different manner, add a space between statements… There’s not a real need for lines to match from code sample to code sample.