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

Submitted by:  None
Submitted on:  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 #1:


  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
// error: y not initialized



No files currently attached


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 add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




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.3