@@ -29,9 +29,12 @@ override string toString() const { return sprintf!"%s:%d:%d"(filename, lineno, column); } mixin SimpleConstructor; - mixin SimpleCompare; + mixin SimpleCompare; + + static immutable LexPosition dummy; + static this(){ dummy = new immutable(LexPosition)("",0,0); } } unittest { @@ -60,8 +63,9 @@ immutable bool quoted; /// Was it a "quoted" token or unquoted? mixin SimpleConstructor; mixin SimpleCompare; + mixin SimpleToString; } unittest {