[Issue 11675] New: [ICE] (expression.c line 9217) With text() of a Typedef

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 3 18:59:53 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11675

           Summary: [ICE] (expression.c line 9217) With text() of a
                    Typedef
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-12-03 18:59:51 PST ---
import std.typecons: Typedef;
import std.string: text;
alias Foo = Typedef!int;
void main() {
    text(Foo(1));
}


DMD 2.065alpha gives:

Assertion failure: 't1->ty == Tfunction' on line 9217 in file 'expression.c'

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


More information about the Digitalmars-d-bugs mailing list