So, i don’t know if it is a bug or maybe just a setting i haven’t found yet, but sometimes messages in the Problems-Tab are pretty useless.
It tells me that there is an error, but it doesn’t tell me where the error is (at least not where it is in my code).