Confusing error for template for loop with (non-local) variable definition in initialiser
solemnwarning opened this issue · 0 comments
solemnwarning commented
e.g:
for(int i = 0; i < x; ++i) {}
This comes through as an invalid expression since the for loop grammar doesn't allow non-local variable definitions, should have a clearer error message.