<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\cs_new:Nn
  \module_foo:n
  { bar }
\cs_generate_variant:Nn  % error on this line
  \module_bar:n
  { V }
</pre></body></html>