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.

Submitter:  Richard Baumann <Rich333>
Submitted:  Wed 19 May 2004 03:57:10 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Discussion

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

 

Attached Files

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

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

History

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-11 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-05-19 Rich333 Attached File- Added nested-class-virt-testcase.cs, #1322

Back to the top

Powered by Savane 3.16-046d.
Corresponding source code