[Issue 7874] [CTFE] internal error: unsupported assignment (x OP= y) = z

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 17 01:42:56 PDT 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Summary|[CTFE] CTFE internal error: |[CTFE] internal error:
                   |unsupported assignment      |unsupported assignment (x
                   |                            |OP= y) = z


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-04-17 01:43:48 PDT ---
Applies to many forms of op= assignment, including some cases of ref
assignment.
Eg.


int foo(int[] x){ auto b =  (x~=x)=[1,2,3]; return 3; }
enum bar = foo([7,5]);

-- 
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