title: LESS Recursive Loop: No Matching Definitions Found
body: <p>I have a mixin I'm creating for generating grids in LESS:</p>
  
  <pre><code>/*Grid*/
  @num-cols: 12;
  @rowWidth: 100%;
  @container-lateral-padding: 1em;
  @col-margin-right: 3.8%;
  @col-unit: (@rowWidth + @col-margin-right) / @num-cols;
  @col-identifier: "col";
  @col-identifier-nums: false;
  @col-identifier-names: true;
  
  @column-selector-number-at-end: false;
  @column-selector-number-at-beginning: true;
  
  .setGrid(@index) when (@index &gt; 1), (@column-selector-number-at-end == false) {
      (~".@{index}-@{colNotation}") {
          width: @col-unit * @index - @col-margin-right;
      }
      .setGrid(@index - 1);
  }
  .setGrid(0) {}
  .setGrid(@num-cols);
  </code></pre>
  
  <p>But I will get the error:</p>
  
  <blockquote>
    <p>No matching definition was found for <code>.setGrid()</code></p>
  </blockquote>
  
  <p>What am I doing wrong here?</p>