Merge of 2.065.0

Temtaime via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Jun 14 08:07:16 PDT 2014


OK reduced test case:

FILE A.d
import B;

FILE B.d
import C;
import D;

import std.range;

class Font {
public:
	mixin RCounted;

	auto makeTextData(string s) {
		// split text by spaces
		auto arr = s.splitter.array;
	}

}

class Engine {
	RC!Font font;
}

FILE C.d
import A;

FILE D.d
template RCounted() {
		void release() { this.destroy; }
}

struct RC(T) {
	~this() {  _rc_ptr.release; }
	T _rc_ptr;
}


I don't know why that errors occurs really.
Any ideas ?

Want to get LDC compile it.


More information about the digitalmars-d-ldc mailing list