bugDotGNU Portable.NET - Bugs: bug #1954, Resolving members from static...

 
 

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

bug #1954: Resolving members from static contexts

Submitted by:  Gopal.V <t3rmin4t0r>
Submitted on:  Wed 11 Dec 2002 10:04:06 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 26 Feb 2003 11:05:16 PM UTC, comment #1:

Fix committed 27 Feb 2003

Rhys Weatherley <rweather>
Project Administrator
Wed 11 Dec 2002 10:04:06 PM UTC, original submission:

The member lookup does not check if the SemToLRValue
has failed or not . So instance members may be selected
above types with similarly accessible members.

Attached test case does not compile .

ns.cs:14: cannot access instance members in static methods

Gopal.V <t3rmin4t0r>
Project Administrator

 

Attached Files
file #183:  ns.cs added by t3rmin4t0r (221B - application/octet-stream - Testcase for instance member access)

 

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

Date Changed By Updated Field Previous Value => Replaced By
Wed 26 Feb 2003 11:05:16 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1