[Issue 4140] Error: non-constant expression "hello"[1u..__dollar]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 21 23:13:37 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4140


strtr at despam.it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |strtr at despam.it


--- Comment #1 from strtr at despam.it 2010-07-21 23:13:35 PDT ---
Just found this one in D1.062 Windows.

Workaround : use z.length iso $.

const A = [1,2,3];
const B = A[1..A.length];

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


More information about the Digitalmars-d-bugs mailing list