www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 593] New: can't deduce from arrayliteral

reply d-bugmail puremagic.com writes:
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
}


-- 
Nov 25 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFFaD//LK5blCcjpWoRAmuCAJ4hX8aP+2uDo8WFeqx2REcpveljpgCcCXJW /9sEfl+r/GqpfsXc0wbH9So= =M2Bx -----END PGP SIGNATURE-----
Nov 25 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=593


bugzilla digitalmars.com changed:

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





Fixed DMD 0.176


-- 
Dec 08 2006