[Issue 4434] New: Assertion failed: (tn->mod & MODimmutable || tn->mod & MODshared), function check, file mtype.c, line 887.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 6 15:35:17 PDT 2010


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

           Summary: Assertion failed: (tn->mod & MODimmutable || tn->mod &
                    MODshared), function check, file mtype.c, line 887.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: sean at invisibleduck.org


--- Comment #0 from Sean Kelly <sean at invisibleduck.org> 2010-07-06 15:35:16 PDT ---
Compile the following:

private struct MyStruct {}
alias shared MyStruct* MyShared;

If the parens are added to the second line, the assertion failure goes away.

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