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



--- Comment #15 from Walter Bright <bugzi...@digitalmars.com> 2012-04-11 
10:40:51 PDT ---
I reduced the test case a little more:

struct Expression(int op) {
  enum lhsClosure = closureOf!();
}

template closureOf() {
  static if (is(typeof({
    BasicVector x;
    x.bar(x);
  }))) {}
  enum closureOf = 1;
}

struct BasicVector {
  void t() {
    auto r = Expression!(1)();
  }

  void bar(T)(T) {
    auto x = Expression!(2)();
  }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to