bugDotGNU Portable.NET - Bugs: bug #9004, Order of nested classes in input...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9004: Order of nested classes in input affects compilation.

Submitted by:  Richard Baumann <Rich333>
Submitted on:  Wed 19 May 2004 03:57:10 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 08 Jun 2004 02:25:27 PM UTC, comment #2:

Used creation order while calling CreateMembers()

A new list of classes were added to ILNode_ClassDefn to keep track of the order in which to create the nested class members.

Fixed in CVS June 8th 2004

Gopal.V <t3rmin4t0r>
Project Administrator
Sat 29 May 2004 02:59:51 PM UTC, comment #1:

Typegathering has no lists for nested classes . Need to reorder nested classes in the order , instead of just as children.

Gopal.V <t3rmin4t0r>
Project Administrator
Wed 19 May 2004 03:57:10 AM UTC, original submission:

For nested classes with virtual/abstract/override methods/properties, if a derived class comes before its base class (or interface), the compiler gives bogus errors on correct code while compiling erroneous code without error. The compiler appears to be attempting to compile the derived types before it knows enough about the base types to do so correctly.

Richard Baumann <Rich333>
Project Member

 

Attached Files
file #1330:  nested-class-virt-testcase.cs added by Rich333 (987B - application/octet-stream - Compiles fine as-is, but pass -DFOO and it gives bogus errors.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 11 Jun 2004 11:52:01 AM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Wed 19 May 2004 03:57:10 AM UTCRich333Attached File-=>Added nested-class-virt-testcase.cs, #1322

Back to the top


Powered by Savane 3.1-cleanup1