bugDotGNU Portable.NET - Bugs: bug #6999, C# using-alias-directive broken...

 
 

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

bug #6999: C# using-alias-directive broken for namespaces

Submitted by:  Tony Garnock-Jones <surazal>
Submitted on:  Sun 28 Dec 2003 12:12:48 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 18 Apr 2004 03:35:04 PM UTC, comment #3:

Fix committed to CVS on 18th April 2004 .

The without using bug is bug #8225 and will be fixed seperately

Gopal.V <t3rmin4t0r>
Project Administrator
Sun 28 Dec 2003 01:14:48 AM UTC, comment #2:

Yet another refinement (...-3.tar.gz) - checking what happens with aliases of classes containing inner classes. Turns out to be the same problem. (Although I'm not sure whether this is supposed to work or not according to the ECMA spec, and I don't have mono or MS.NET handy here at home to test this third set of test cases.)

Tony Garnock-Jones <surazal>
Sun 28 Dec 2003 01:08:13 AM UTC, comment #1:

Here's a new test case that pins it down even further (using-directive-2.tar.gz). Referring to S.Inner.S2 gives a different set of messages than referring to S.Service. The only nontrivial difference between the classes is that one is inside another namespace layer.

Tony Garnock-Jones <surazal>
Sun 28 Dec 2003 12:12:48 AM UTC, original submission:

Code such as the following (where Shared.Service is a class) will not compile (I've attached a small test case that helps narrow down the problem), whereas it does compile on MS.NET and Mono:

using S = Shared;
public class Main {
public static void Main() {
S.Service s = new S.Service();
s.Hi();
}
}

Tony Garnock-Jones <surazal>

 

Attached Files
file #932:  using-directive-3.tar.gz added by surazal (679B - application/x-gzip - Further refinement, checking aliases of classes containing inner classes)
file #931:  using-directive-2.tar.gz added by surazal (626B - application/x-gzip - Refined test cases)
file #930:  using-directive.tar.gz added by surazal (561B - application/x-gzip - Test case with three examples, two working, one broken)

 

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 22 Apr 2004 03:02:57 PM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sun 28 Dec 2003 01:14:48 AM UTCsurazalAttached File-=>Added using-directive-3.tar.gz, #912
Sun 28 Dec 2003 01:08:13 AM UTCsurazalAttached File-=>Added using-directive-2.tar.gz, #911
Sun 28 Dec 2003 12:12:48 AM UTCsurazalAttached File-=>Added using-directive.tar.gz, #910

Back to the top


Powered by Savane 3.1-cleanup1