[nem-bug] [Nemerle 0000704]: Nemerle allows static constructor with
parameters
feedback at nemerle.org
feedback at nemerle.org
Sun Jul 2 15:31:43 CEST 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=704>
======================================================================
Reported By: Snaury
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 704
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 07-02-2006 15:31 CEST
Last Modified: 07-02-2006 15:31 CEST
======================================================================
Summary: Nemerle allows static constructor with parameters
Description:
By occasion I found that this:
public struct MyStruct
{
public static a : int;
static this(b : int)
{
a = b;
}
}
Compiles, but of course not verifies:
H:\_compile\Nemerle-current\ncc\out.stage3>peverify 1.dll
Microsoft (R) .NET Framework PE Verifier. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
[MD]: Error: Type constructor must have no arguments. [token:0x06000001]
1 Error Verifying 1.dll
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
07-02-06 15:31 Snaury New Issue
======================================================================
More information about the bugs
mailing list