Thread overview
[Issue 8071] New: ICE(glue.c): delegate passed to std.algorithm.map
May 09, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8071

           Summary: ICE(glue.c): delegate passed to std.algorithm.map
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: kekeniro2@yahoo.co.jp


--- Comment #0 from kekeniro2@yahoo.co.jp 2012-05-09 05:48:08 PDT ---
This command results in abnormal program termination with error:
  Assertion failure: '!vthis->csym' on line 716 in file 'glue.c'

COMMAND: ( the order of arguments is significant )
  dmd moda.d modb.d

moda.d
---------------------------------------
import std.algorithm;

modb.d
---------------------------------------
import std.algorithm;
class C {
    void memberFun() {
        int local;
        map!( (a){return local;} )( "" );
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 09, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8071


kekeniro2@yahoo.co.jp changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice


--- Comment #1 from kekeniro2@yahoo.co.jp 2012-05-09 10:10:14 PDT ---
Sorry, that message(...line716...) was from git head.

D2.059's message is here:
  Assertion failure: '!vthis->csym' on line 686 in file 'glue.c'


In addition, explicit parameter type of delegate literal prevents this error.
  map!( (dchar a){return local;} )( "" ); // 'dchar' added


Environment:
  Windows XP SP3 32bit

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 19, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8071


kekeniro2@yahoo.co.jp changed:

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


--- Comment #2 from kekeniro2@yahoo.co.jp 2012-05-18 19:16:49 PDT ---
*** This issue has been marked as a duplicate of issue 4481 ***

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