Thread overview
[Issue 10720] New: ICE with is(aaOfNonCopyableStruct.nonExistingField)
Jul 27, 2013
Vladimir Panteleev
Jul 29, 2013
Henning Pohl
Jul 30, 2013
Kenji Hara
Aug 01, 2013
Martin Nowak
Sep 22, 2013
Kenji Hara
July 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10720

           Summary: ICE with is(aaOfNonCopyableStruct.nonExistingField)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: thecybershadow@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow@gmail.com> 2013-07-27 14:35:02 EEST ---
struct NC
{
    @disable this(this) {}
}

void main()
{
    NC[string] aa;
    is(aa.nonExistingField);
}

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


Henning Pohl <henning@still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |henning@still-hidden.de


--- Comment #1 from Henning Pohl <henning@still-hidden.de> 2013-07-29 06:52:24 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2409

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DMD                         |druntime


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-29 19:31:55 PDT ---
I think this is rather druntime issue. https://github.com/D-Programming-Language/druntime/pull/554

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



--- Comment #3 from github-bugzilla@puremagic.com 2013-08-01 00:49:23 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/2473c2204180be54d35bcd099b09949f13025199 fix issue 10720 - ICE with is(aaOfNonCopyableStruct.nonExistingField)

AA.dup should be disabled if Value type is not copyable.
The root cause was the use of Value.init. Built-in `init` property makes
rvalue, therefore the 'static if' condition did not properly test
'copyable' trait of Value type.

https://github.com/D-Programming-Language/druntime/commit/ee1eb100a7c0c283d798d4e4913d6472f1c50443 Merge pull request #554 from 9rnsr/fix10720

issue 10720 - ICE with is(aaOfNonCopyableStruct.nonExistingField)

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


Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu


--- Comment #4 from Martin Nowak <code@dawg.eu> 2013-08-01 00:56:48 PDT ---
Apparently the ICE happened because the instantiation of AssociativeArray!(Key, Value) failed so that TypeAArray::getImpl returns null.

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


Kenji Hara <k.hara.pg@gmail.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: -------