www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4980] New: ICE on unknown type in a shared class/struct

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4980

           Summary: ICE on unknown type in a shared class/struct
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: 2korden gmail.com


--- Comment #0 from Koroskin Denis <2korden gmail.com> 2010-10-02 21:04:22 PDT
---
shared class Foo
{
    Bar* bar;
}

test.d(3): Error: identifier 'Bar' is not defined
test.d(3): Error: Bar is used as a type
Assertion failure: 'tn->mod & MODimmutable || tn->mod & MODshared' on line 883
in file 'mtype.c'

abnormal program termination

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 02 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4980


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2010-11-07
12:30:30 PST ---
*** This issue has been marked as a duplicate of issue 4434 ***

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