Thread overview
[Issue 10115] New: More @disabled holes
May 18, 2013
Walter Bright
May 19, 2013
Walter Bright
May 19, 2013
Walter Bright
May 18, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115

           Summary: More @disabled holes
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bugzilla@digitalmars.com


--- Comment #0 from Walter Bright <bugzilla@digitalmars.com> 2013-05-18 13:10:36 PDT ---
struct S
{
   int a;
   @disable this();
   this(int) { a = 1; }
   ~this() { assert(a !is 0); }
}

enum E : S { A = S.init }

union U
{
   S s;
   this(this) { assert (s.a !is 0); }
   ~this() { assert (s.a !is 0); }
}

void foo(out S s, out E e, out U u) { }

void main()
{
   S[] arr;
   arr.length = 5; // compiles
   E[] e;
   e.length = 5; // compiles
   S[1] x = (S[1]).init; // compiles
   U[] u;
   u.length = 5; //compiles
   foo(arr[0], e[0], u[0]); // compiles
}

-- reported by Maxim Fomin

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 19, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115



--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2013-05-18 20:15:31 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2052

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 19, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115



--- Comment #2 from github-bugzilla@puremagic.com 2013-05-18 22:29:42 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/7293d5482d054d55b2cd3078f4e0c4ae1f9b11be fix Issue 10115 - More @disabled holes

https://github.com/D-Programming-Language/dmd/commit/598f30db3a9e2de88fbaa0fdafe0c5ce0eb2f9e6 Merge pull request #2052 from 9rnsr/fix10115

Issue 10115 - More @disabled holes

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 19, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115



--- Comment #3 from github-bugzilla@puremagic.com 2013-05-18 22:31:01 PDT ---
Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0275c56cbaa09d6ec49e978bd011eb5b0a9b62aa Merge pull request #2052 from 9rnsr/fix10115

Issue 10115 - More @disabled holes

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 19, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115


Walter Bright <bugzilla@digitalmars.com> 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: -------
August 30, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115


hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx


--- Comment #4 from hsteoh@quickfur.ath.cx 2013-08-30 14:09:44 PDT ---
Commit 0275c56cbaa09 introduced issue #10630

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 15, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10115



--- Comment #5 from github-bugzilla@puremagic.com 2013-09-15 00:16:40 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b8b99a8148e730c067297d0dfd702bbbf0a4902e fix bug10115 test case

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