Summary: ICE(module.c): module naming conflict in subfolder
           Product: D
           Version: 2.041
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2010-05-27 15:06:39 PDT ---
Reported by Matthias.
The dmd compiler v2.046 produces correct output ("Error: module test from file
xxx.d conflicts with another module test from file yyy.d"), if multiple
placement of same module identifier are in the root of the project, however it
crashes, when the files are in a subfolder and does not display a proper error

The output is:
Assertion failure: 'mprev' on line 641 in file 'module.c'

Test case:
import std.stdio;

import folder.File1;
import folder.File2;

int main(char[][] args)
    return 0;

module folder;

const char[] file1 = "File1";

module folder;

const char[] file2 = "File2";

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to