dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #1798] cscc incorrectly resolves some using-alias


From: nobody
Subject: [Pnet-developers] [bug #1798] cscc incorrectly resolves some using-alias-directive
Date: Wed, 09 Jul 2003 23:30:52 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

=================== BUG #1798: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1798&group_id=353

Changes by: Rhys Weatherley <address@hidden>
Date: Thu 07/10/2003 at 03:30 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Closed - lazy evaluation is a feature of how cscc works.
Changing this will require a massive re-architect to
add an error message for something that real programmers
will never encounter.



=================== BUG #1798: FULL BUG SNAPSHOT ===================


Submitted by: mathpup                 Project: DotGNU Portable.NET          
Submitted on: Mon 11/25/2002 at 02:25
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  None                    Status:  Closed                       

Summary:  cscc incorrectly resolves some using-alias-directive

Original Submission:  When handling using-alias-directives, resolving a 
typename or namespace is supposed to  be done as though each directive were the 
only one in the immediate namespace or  compilation unit. This is illustrated 
by the attached program below:

csc reports the following error:

using.cs(2,9): error CS0246:         The type or namespace name 'A' could not 
be found (are you missing a using directive or an assembly reference?)


Follow-up Comments
*******************

-------------------------------------------------------
Date: Thu 07/10/2003 at 03:30       By: rweather
Closed - lazy evaluation is a feature of how cscc works.
Changing this will require a massive re-architect to
add an error message for something that real programmers
will never encounter.

-------------------------------------------------------
Date: Wed 02/26/2003 at 05:14       By: rweather
I have partially fixed this bug.  It is now no longer possible
to have one alias refer to another, in accordance with the 
specification.  However, the test case attached to this bug 
will still compile OK with no error because B is never used
anywhere in the code.  If you add a variable declaration to
Main like "B x", you will get an error.  This is because
aliases are evaluated in a lazy manner in cscc.  It may
take a bit longer to figure out how to evaluate aliases
non-lazily.

-------------------------------------------------------
Date: Tue 01/28/2003 at 13:57       By: t3rmin4t0r
not fixed :( ...

I'm stuck up with work at college ... and still teaching guys TreeCC .. (for my 
``project'' team)

-------------------------------------------------------
Date: Tue 01/28/2003 at 06:46       By: rweather
What was the status on this Gopal?


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Mon 11/25/2002 at 02:25  Name: using.cs  Size: 0KB   By: mathpup
Bug illustration
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=1798&amp;bug_file_id=165


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1798&group_id=353

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]