www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11513] New: [REG 2.064] Assertion in module.c

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11513

           Summary: [REG 2.064] Assertion in module.c
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: dragoscarp gmail.com


--- Comment #0 from Dragos Carp <dragoscarp gmail.com> 2013-11-13 15:16:15 PST
---
a.d
----
module a;

import b;

-------------------------
b.d
----
module a.b;

-------------------------

dmd 2.063 produces error
dmd -c a.d
a.d(3): Error: module a.b package name 'a' in file b.d conflicts with usage as
a module name in file a.d


dmd 2.064 after implementation of DIP37 asserts
dmd -c a.d
dmd: module.c:595: void Module::parse(): Assertion `pkg' failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 13 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11513


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
           Platform|x86_64                      |All
         OS/Version|Linux                       |All
           Severity|normal                      |regression


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-11-13 20:06:11 PST ---
https://github.com/D-Programming-Language/dmd/pull/2759

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11513



--- Comment #2 from github-bugzilla puremagic.com 2013-11-14 01:17:22 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/9c4aed7a0fdfb417e49d9a97d9863963ace6b9d8
fix Issue 11513 - Assertion in module.c

https://github.com/D-Programming-Language/dmd/commit/e2e13354f610d85c4d71e7406c33db2aaae84513
Merge pull request #2759 from 9rnsr/fix11513

[REG2.064] Issue 11513 - Assertion in module.c

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 14 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11513



--- Comment #3 from github-bugzilla puremagic.com 2013-11-14 01:18:08 PST ---
Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/6ac3c83debb8c7fd024ac7a7dc9c0a98f3fc26e4
Merge pull request #2759 from 9rnsr/fix11513

[REG2.064] Issue 11513 - Assertion in module.c

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 14 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11513


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 14 2013