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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sun 19 Aug 2007 03:33:22 PM UTC, comment #1:


 Spam posted by an anonymous
 Spam posted by an anonymous
 Spam posted by an 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 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
Mon 27 Nov 2006 06:06:38 AM UTCt3rmin4t0rAttached File#2076=>Removed
Sun 29 Jan 2006 08:07:38 PM UTCNoneAttached File-=>Added , #3339

Back to the top

Powered by Savane 3.1-cleanup1