D-ObjC error in D2

Ary Borenszweig ary at esperanto.org.ar
Sat Jul 25 09:50:50 PDT 2009


asd escribió:
> thanks for quick response!
> 
> Lutger Wrote:
> 
>> Not directly except with descent. It's worth it to try descent compile time 
>> debugger (and compile time view!), really awesome stuff. 
> 
> It's indeed pretty nice, but unfortunately it doesn't seem to show mixins:
> 
>> 	public void STARTS_HERE() {}
>> 	
>> 	mixin ObjcMethodInfo!(objcForward_isEqual_, BOOL, "isEqual:", id);
>> 	
>> 	public void  ENDS_HERE(int h) {}
> 
> is displayed in Descent's Compile-Time view as:
> 
>> 	void STARTS_HERE() {
>> 	}
>>
>> 	void ENDS_HERE(int h) {
>> 	}

Maybe because it can't instantiante the template. :-)

The idea in these cases is to debug the instantiation. Right click on it 
-> Source -> Debug at Compile Time. The debug view opens, you can step 
into, and when an error happens it'll be printed in the console at the 
line where it happens.


More information about the Digitalmars-d-learn mailing list