<p dir="auto">I'm new to less but when I try and compile the less files, I get an error on line 578 of the mixins file. Any ideas what might be going wrong?</p>
<p dir="auto">Thanks,<br>
Andy</p>
<p dir="auto">I got this error on line <code class="notranslate">578</code> when i try to compile mixins.less file (latest<code class="notranslate">master</code>) :</p>
<div class="highlight highlight-source-css-less notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    .spanX (@index) when (@index &gt; 0) {
      .span{@index} { .span(@index); } // Here is the error
      .spanX(@index - 1);
    }"><pre class="notranslate">    <span class="pl-e">.spanX</span> (<span class="pl-smi">@index</span>) <span class="pl-k">when</span> (<span class="pl-smi">@index</span> <span class="pl-k">&gt;</span> <span class="pl-c1">0</span>) {
      <span class="pl-e">.span</span>{<span class="pl-smi">@index</span>} { <span class="pl-e">.span</span>(<span class="pl-smi">@index</span>); } <span class="pl-c"><span class="pl-c">//</span> Here is the error</span>
      <span class="pl-e">.spanX</span>(<span class="pl-smi">@index</span> <span class="pl-k">-</span> <span class="pl-c1">1</span>);
    }</pre></div>
<p dir="auto">I tried to compile with differents tools (<a href="http://less2css.org/" rel="nofollow">http://less2css.org/</a>, lessphp...) but it always return the same error.</p>