View mode: basic / threaded / horizontal-split · Log in · Help
May 11, 2012
[Issue 8081] New: pure nothrow unittest problem in generated 'header' file
http://d.puremagic.com/issues/show_bug.cgi?id=8081

          Summary: pure nothrow unittest problem in generated 'header'
                   file
          Product: D
          Version: D2
         Platform: x86
       OS/Version: All
           Status: NEW
         Keywords: wrong-code
         Severity: normal
         Priority: P2
        Component: DMD
       AssignedTo: nobody@puremagic.com
       ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2012-05-10 17:20:55 PDT ---
A problem shown in the latest DMD2.060alpha, in the file:
...\dmd2\src\druntime\src\core\atomic.d
...\druntime\import\core\atomic.di


A D2 test program:

version(unittest) {
   pure nothrow unittest {}
   pure nothrow unittest {}
}
void main() {}



Using:

dmd -H test.d


It generates this, that seems wrong:

// D import file generated from 'test.d'
version (unittest)
{
   nothrow pure 
   nothrow pure 
}
void main()
{
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 11, 2012
[Issue 8081] pure nothrow unittest problem in generated 'header' file
http://d.puremagic.com/issues/show_bug.cgi?id=8081



--- Comment #1 from github-bugzilla@puremagic.com 2012-05-10 20:20:57 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/4cda59a17779bbdbd645c7772771cdccdbcc2df2
Fix build breakage due to bug# 8081.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 23, 2012
[Issue 8081] pure nothrow unittest problem in generated 'header' file
http://d.puremagic.com/issues/show_bug.cgi?id=8081


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

          What    |Removed                     |Added
----------------------------------------------------------------------------
          Keywords|                            |pull
          Platform|x86                         |All


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2012-09-22 23:28:11 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1139

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 06, 2013
[Issue 8081] pure nothrow unittest problem in generated 'header' file
http://d.puremagic.com/issues/show_bug.cgi?id=8081


Walter Bright <bugzilla@digitalmars.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
                CC|                            |bugzilla@digitalmars.com
          Severity|normal                      |minor


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2013-03-06 09:50:32 PST ---
pure nothrow pure nothrow

is wrong because it doesn't compile.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 12, 2013
[Issue 8081] pure nothrow unittest problem in generated 'header' file
http://d.puremagic.com/issues/show_bug.cgi?id=8081



--- Comment #4 from github-bugzilla@puremagic.com 2013-05-12 16:16:46 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/69eee3956502f2455cc9aa686ac3e7a6dc5219a5
fix Issue 8081 - pure nothrow unittest problem in generated 'header' file

https://github.com/D-Programming-Language/dmd/commit/23c6ac5bee0d0417a93ba560a711068150566083
Merge pull request #1139 from 9rnsr/fix8081

Issue 8081 - pure nothrow unittest problem in generated 'header' file

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 13, 2013
[Issue 8081] pure nothrow unittest problem in generated 'header' file
http://d.puremagic.com/issues/show_bug.cgi?id=8081


bearophile_hugs@eml.cc changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|NEW                         |RESOLVED
        Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home