A closer look quickly determined there’s NO syntax error, so what’s wrong?
The red line is kinda wide, and using some shift-cursor keys movement showed that this is one character:
But that is two spaces?
Ahh, mystery bug solved. You can paste TAB characters into C/AL, and they stay as tabs, but the compiler does not like them. Typing a tab gets translated into spaces, but not if you paste it in there, it just looks like 2 spaces but stays as one tab, that cannot be compiled.
Ctrl-H can actually search and replace the tabs with spaces, by copy’pasting the tab into the Find What field: