title: Error in recursive function with Numba in nopython mode
body: <p>I want to run a recursive function in Numba, using nopython mode. Until now I'm only getting errors. This is a very simple code, the user gives a tuple with less than five elements and then the function creates another tuple with a new value added to the tuple (in this case, the number 3). This is repeated until the final tuple has length 5. For some reason this is not working, don't know why.</p>
  
  <pre class="lang-py prettyprint-override"><code>@njit
  def tup(a):
      if len(a) == 5:
          return a
      else:
          b = a + (3,)
          b = tup(b)
          return b
  </code></pre>
  
  <p>For example, if <code>a = (0,1)</code>, I would expect the final result to be tuple <code>(0,1,3,3,3)</code>.</p>
  
  <p>EDIT: I'm using Numba 0.41.0 and the error I'm getting is the kernel dying, 'The kernel appears to have died. It will restart automatically.'</p>