Differences From Artifact [16f826d18ff480be]:
- File
polemy/tricks.d
- 2010-11-07 14:34:29 - part of checkin [0569f7b8c2] on branch trunk - - Added function literal evaluator (i.e., closure). - Workaround for d2stacktrace's infinite-loop bug. (when std.demangle.demangle use exception inside it, it will go into an infinite loop. to avoid this, I choose to unset TraceHandler during stacktrace generation. This is far from the complete solution, but at least it should work as expected under single-thread environment...) (user: kinaba) [annotate]
To Artifact [b521ec130c690547]:
- File
polemy/tricks.d
- 2010-11-07 15:03:38 - part of checkin [820e7198cc] on branch trunk - Made helloworld work. (user: kinaba) [annotate]
39 { 39 {
40 super(ps); 40 super(ps);
41 static if(this.tupleof.length>0) 41 static if(this.tupleof.length>0)
42 this.tupleof = params; 42 this.tupleof = params;
43 } 43 }
44 } 44 }
45 45
46 /// Mixing-in the (MOST-DERIVED) member-wise comparator for a class | 46 /// Mixing-in the MOST-DERIVED-member-wise comparator for a class
47 47
48 /*mixin*/ template SimpleCompare() 48 /*mixin*/ template SimpleCompare()
49 { 49 {
50 override bool opEquals(Object rhs_) const 50 override bool opEquals(Object rhs_) const
51 { 51 {
52 if( auto rhs = cast(typeof(this))rhs_ ) 52 if( auto rhs = cast(typeof(this))rhs_ )
53 { 53 {