digitalmars.D.bugs - dmd v0.101 abnormal program termination
- Regan Heath (22/22) Aug 31 2004 --[bug.d]--
--[bug.d]-- template fooT(Type : Type[]) { bool fooT(Type[] a) { this.bar(); } } template A() { bool foo(char[] x) { return fooT!(typeof(x))(x); } } class B { mixin A; } void main() { } D:\D\src\temp>dmd bug.d bug.d(3): 'this' is only allowed in non-static member functions Assertion failure: 'var' on line 1147 in file 'expression.c' abnormal program termination Regan -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Aug 31 2004