[Issue 1119] Internal error: ../ztc/cgcod.c 2190 (template instantiation)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 10 11:35:44 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1119





------- Comment #3 from onlystupidspamhere at yahoo.se  2007-04-10 13:35 -------
(In reply to comment #2)

Hehe, I created a bit more reduced version on #d today, but forgot to post it
here. Here it is:


import std.intrinsic;

class Node(int l) { Node!(l-1) b; }

class Node(int l : 0) {
  uint leaf = 0;

  int m() {
        return leaf ? 0 : bsf(leaf);
  }
}

alias Node!(1) tree;


-- 



More information about the Digitalmars-d-bugs mailing list