[nem-bug] [Nemerle 0001046]: Nullables don't work for generic
parameter constrained with struct.
feedback at nemerle.org
feedback at nemerle.org
Sun Aug 26 23:29:03 CEST 2007
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1046>
======================================================================
Reported By: SergASh
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 1046
Category: Compiler
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 08-26-2007 23:29 CEST
Last Modified: 08-26-2007 23:29 CEST
======================================================================
Summary: Nullables don't work for generic parameter
constrained with struct.
Description:
The following declaration
class Test[T1]
where T1 : struct
{
private mutable t1 : T1?;
}
produces next error
"typing constraint on T not satisfied, upon instantiation of
System.Nullable: System.Object is not a subtype of System.ValueType
[simple require]"
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
08-26-07 23:29 SergASh New Issue
======================================================================
More information about the bugs
mailing list