When adding the build errors to the Diagnostics view, the error marks stay on the lines until next build, even if the errors have been fixed. If this feels a bit frustrating, there is now a way to disable the Diagnostics.
@waqar & @akselmo, What do you think?