tsamename.nim 279 B

12345678910111213141516
  1. # bug #9891
  2. import "."/tsamename2
  3. # this works
  4. callFun(fooBar2)
  5. when true:
  6. # Error: attempting to call routine: 'processPattern'
  7. callFun(fooBar)
  8. when true:
  9. # BUG: Error: internal error: expr(skModule); unknown symbol
  10. proc processPattern() = discard
  11. callFun(fooBar)