Thread overview
[Issue 593] New: can't deduce from arrayliteral
Nov 25, 2006
d-bugmail
Nov 25, 2006
Thomas Kuehne
Dec 08, 2006
d-bugmail
November 25, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=593

           Summary: can't deduce from arrayliteral
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: lovesyao@hotmail.com


void main(){
  auto t=['a','b','c','d'];//error
  const t2=['a','b','c','d'];//crash
}


-- 

November 25, 2006
d-bugmail@puremagic.com schrieb am 2006-11-25:
> http://d.puremagic.com/issues/show_bug.cgi?id=593

> void main(){
>   auto t=['a','b','c','d'];//error
>   const t2=['a','b','c','d'];//crash
> }

test cases:
http://dstress.kuehne.cn/run/a/auto_18_C.d

Added to DStress as: http://dstress.kuehne.cn/compile/c/const_41_A.d

Thomas


December 08, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=593


bugzilla@digitalmars.com changed:

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




------- Comment #2 from bugzilla@digitalmars.com  2006-12-08 02:57 -------
Fixed DMD 0.176


--