Error compiling dimport.d


Attempt to compile provided dimport.d with latest dnet:
dnet dimport.d
Warning: dimport.d(25): converting slice to temporary array
Assertion failed: e || isBranchInstruction(this) || stackDelta() == 0, file ..\dmd\backend.net\elem.cpp, line 93
Closed Jun 18, 2009 at 8:14 AM by cristiv


cristiv wrote May 24, 2009 at 7:41 PM

I am looking into it.

cristiv wrote May 24, 2009 at 8:41 PM

Removed incorrect assertion.

tim_m89 wrote May 25, 2009 at 6:28 AM

It still can't compile but this time it's not dnet throwing the error but ilasm:

ilasm /quiet dimport.il
dimport.il (7, 2) : Error : irrecoverable syntax error

***** FAILURE *****

cristiv wrote May 25, 2009 at 9:18 PM

Are you compiling on Linux by any chance? The ILASM and ILASM2 programs that ship with Mono do not seem to understand #define directives.

I have limited time and the first priority is to stabilize the code generator -- working around bugs in non-Windows platforms is a distraction that I cannot afford right now.

wrote Jun 18, 2009 at 8:14 AM

wrote Feb 14, 2013 at 1:52 AM

wrote May 16, 2013 at 6:01 AM