[Issue 11896] [REG2.066a] isVirtualMethod related GitHub HEAD regression (works with 2.064)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 13 04:40:13 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11896


Puneet Goel <puneet at coverify.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #7 from Puneet Goel <puneet at coverify.org> 2014-01-13 04:40:11 PST ---
Another reduced test case.

// test.d
Frop!(int) frop;

mixin template baz() {
  public void bar() {}
}

mixin baz;

class Foo(T) {
  static if(! __traits(isVirtualMethod, zoo)) {}
  static void zoo() {
    bar();
  }
}

class Frop(T): Foo!T {}

void main() {
  frop.zoo();
}

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


More information about the Digitalmars-d-bugs mailing list