Code editor flags wrong line for errors

I’m messing with some shaders and I’ve found the code editor seems to highlight the line after as having the errors (only the red zigzags) (or the line before it seems!)
This is beta 34.1 by the way, so many releases!

Indeed certain (not all) error markers seem to appear in the wrong line but that’s not the code-editors fault, the original error message spit out by the HLSL shader compiler already contains the “incorrect” / “misleading” line number. Therefor there’s nothing we can do about it.