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



--- Comment #13 from [email protected] 2013-07-30 00:08:55 PDT ---
Here is another variant of this.

[DMD2.063.2]
dmd crasha.d crashb.d
===> Assertion failure: '!vthis->csym' on line 783 in file 'glue.c'

// crasha.d ---------------------
import std.algorithm;

// crashb.d ---------------------
import std.algorithm;

class SomeClass {
    void foo() {
        //enum myFilter = function(int s)=>true; // OK
        auto myFilter = function(int s)=>true;   // NG
        int[] r;
        r.filter!myFilter();
    }
}

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

Reply via email to