I can't tell if it is foreach or Copilot (or maybe the combination), but everytime I use foreach VS Code goes mad. All sorts of false compilation errors highlighted in the editor but actually compiles when I build.
Foreach does feels a little like a forgotten child of the AL language.
#bcalhelp