[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [Bug #3593] [0.5.6] Multiple static constructors allow
From: |
nobody |
Subject: |
[Pnet-developers] [Bug #3593] [0.5.6] Multiple static constructors allowed but not called in main class |
Date: |
Sun, 01 Jun 2003 12:11:33 -0400 |
=================== BUG #3593: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3593&group_id=353
Changes by: Gopal.V <address@hidden>
Date: Sun 06/01/03 at 21:41 (Asia/Calcutta)
------------------ Additional Follow-up Comments ----------------------------
The presence of multiple static constructors now throw an error in cscc ...
Investigating second bug
=================== BUG #3593: FULL BUG SNAPSHOT ===================
Submitted by: yannis_bres Project: DotGNU Portable.NET
Submitted on: Wed 05/14/03 at 15:59
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: [0.5.6] Multiple static constructors allowed but not called in main
class
Original Submission: The following program declares two static constructors,
which I guess should not be accepted by the compiler (at least, MS one refuses
to compile such a program).
Then, even if you comment one of the static constructors, none seems to be
called (only "Hello!" is printed). I guess this is a special case for the main
class, as static constructors seems to be properly called in non-main classes.
Have fun,
Yannis
Follow-up Comments
*******************
-------------------------------------------------------
Date: Sun 06/01/03 at 21:41 By: t3rmin4t0r
The presence of multiple static constructors now throw an error in cscc ...
Investigating second bug
-------------------------------------------------------
Date: Wed 05/28/03 at 22:34 By: t3rmin4t0r
Problem occurs only when the static ctors are in the class with the entrypoint
..
The ilrun.c should be hacked to call the .cctor before calling
the entry point ... which should fix this bug
(but nice catch !)
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Wed 05/14/03 at 15:59 Name: MultipleStaticConstructors.cs Size: 0KB
By: yannis_bres
Multiple static constructors allowed but not called in main class
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=3593&bug_file_id=449
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3593&group_id=353
- [Pnet-developers] [Bug #3593] [0.5.6] Multiple static constructors allowed but not called in main class,
nobody <=