On Friday, 22 January 2021 at 00:59:32 UTC, tsbockman wrote:
Generally, I don't need to know what causes an error in order to produce an MCVE. I have successfully done so on many occasions. It's annoying and slow, but usually very possible.
I know that I have to debug it myself, but if somebody already know this kind of error I would still ask about first since the first message makes no sense. The second error indeed explains whats going on.
Anyway. It was a simple question not a prove that there is a bug in the compiler. You guys confuse a forum post question with a public examination.
The simple answer if any for somebody can just be: "void" can also be the data type if the compiler has problems resolving a symbol by running into a recursion while parsing.