bugDotGNU Portable.NET - Bugs: bug #7456, compiler allows invalid struct...

 
 

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

bug #7456: compiler allows invalid struct ctors

Submitter:  None
Submitted:  Mon 26 Jan 2004 04:17:29 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sun 19 Aug 2007 03:33:22 PM UTC, comment #4: 
Anonymous
  Spam posted by anonymous
  Spam posted by anonymous
  Spam posted by anonymous
Mon 26 Jan 2004 04:17:29 PM UTC, original submission:  

In structs the compiler allows explicit parameterless ctors as well as ctors not initializing all members, e.g.:

struct X
{
int x,y;
public X() // error: parameter required
{
x=5;
// error: y not initialized
}
}

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-27 t3rmin4t0r Attached File#2076 Removed
2006-01-29 None Attached File- Added , #3339

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code