[nem-bug] [Nemerle 0000800]: System.Void as a generic type argument
feedback at nemerle.org
feedback at nemerle.org
Sun Dec 3 04:53:29 CET 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=800>
======================================================================
Reported By: Evin Robertson
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 800
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 12-03-2006 04:53 CET
Last Modified: 12-03-2006 04:53 CET
======================================================================
Summary: System.Void as a generic type argument
Description:
The following code compiles, but it should not (void is an invalid generic
type argument). Nemerle distinguishes void from System.Void. Attached is
a patch that makes MType.Equals consider void and System.Void equal.
public class A['a]
{
}
public class B
{
public F() : void
{
_ = A() : A[System.Void]
}
}
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
12-03-06 04:53 Evin Robertson New Issue
12-03-06 04:53 Evin Robertson File Added: voidvoid.patch
======================================================================
More information about the bugs
mailing list