[Issue 248] New: Assertion failure: attrib.c 913 - version without (...) in imported module

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 10 07:12:51 PDT 2006


http://d.puremagic.com/issues/show_bug.cgi?id=248

           Summary: Assertion failure: attrib.c 913 - version without (...)
                    in imported module
           Product: D
           Version: 0.162
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: smjg at iname.com


----- version_unspec1.d -----
import version_unspec2;
----- version_unspec2.d -----
version {}
----------
D:\My Documents\Programming\D\Tests\bugs>dmd version_unspec1
version_unspec2.d(1): (condition) expected following version
Assertion failure: 'condition' on line 913 in file 'attrib.c'

abnormal program termination
----------

For some reason, the line "abnormal program termination" appears only if I run
DMD from the command line - if I run it from TextPad, DMD hangs instead.  It
doesn't seem to matter what follows the word "version" in the code - the
assertion failure and APT are the same whatever else I try.

The import is necessary to show the bug - compiling version_unspec_2.d directly
correctly diagnoses the error without an ICE.


-- 




More information about the Digitalmars-d-bugs mailing list