Abstract functions with bodies

Ary Manzana ary at esperanto.org.ar
Sun Mar 18 19:34:24 PDT 2007


While porting DMD code to Java I noticed that error reporting for 
abstract functions with bodies is disables. The following code gives no 
errors:

class X {

	abstract int bla() {
		return 1;
	}

}

Why is the error reporting silenced for this (in 
FuncDeclaration::semantic )?

Ary



More information about the Digitalmars-d mailing list