bugDotGNU Portable.NET - Bugs: bug #1743, incorrect constructor and error

 
 

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

bug #1743: incorrect constructor and error

Submitted by:  Gopal.V <t3rmin4t0r>
Submitted on:  Mon 18 Nov 2002 02:54:32 PM UTC  
 
Category: NoneSeverity: 1,5
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 19 Nov 2002 01:54:34 AM UTC, comment #1:

I have the improved the error message to make it clearer what is going on. I can't do much about the line number as it has to report something for the implicit constructor, and the last line of the class is just as good as any.

Rhys Weatherley <rweather>
Project Administrator
Mon 18 Nov 2002 02:54:32 PM UTC, original submission:

If the constructor is missing and the parent does not have a 0 args ctor ... the error reported is "method not found" and not "constructor" .. And the line number is wrong .. (the .ctor does not actually have a line number but well...)

Gopal.V <t3rmin4t0r>
Project Administrator

 

Attached Files
file #152:  missingctor.cs added by t3rmin4t0r (33B - application/octet-stream - test case)

 

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
Tue 19 Nov 2002 01:54:34 AM UTCrweatherOpen/ClosedOpen=>(Error - Not Found)
Tue 19 Nov 2002 01:54:33 AM UTCrweatherStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1