<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\cs_new:Npn
  \example_foo:nnn
  #1#2#3
  { foo~#4 }  % error on this line
</pre></body></html>