[nem-bug] [Nemerle 0001046]: Nullables don't work for generic
parameter constrained with struct.
feedback at nemerle.org
feedback at nemerle.org
Wed Sep 5 12:24:49 CEST 2007
A NOTE has been added to this issue.
======================================================================
<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: 09-05-2007 12:24 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]"
======================================================================
----------------------------------------------------------------------
BOleg - 09-01-07 12:04
----------------------------------------------------------------------
Fixed. Path attached in 1048 (http://nemerle.org/bugs/view.php?id=1048).
----------------------------------------------------------------------
nazgul - 09-05-07 12:24
----------------------------------------------------------------------
Fixed on trunk (r7786) by BOleg's patch.
Issue History
Date Modified Username Field Change
======================================================================
08-26-07 23:29 SergASh New Issue
09-01-07 12:04 BOleg Note Added: 0001946
09-05-07 12:24 nazgul Note Added: 0001951
======================================================================
More information about the bugs
mailing list