[nem-bug] [Nemerle 0000605]: Casts from value type to 'a causes
invalid IL
feedback at nemerle.org
feedback at nemerle.org
Mon May 22 18:06:16 CEST 2006
The following issue has been CLOSED
======================================================================
<http://nemerle.org/bugs/view.php?id=605>
======================================================================
Reported By: nazgul
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 605
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 01-28-2006 14:15 CET
Last Modified: 05-22-2006 18:06 CEST
======================================================================
Summary: Casts from value type to 'a causes invalid IL
Description:
#pragma indent
module M
public ReadField ['a] (index : int) : 'a
def ty = typeof ('a)
if (ty.Equals (typeof (int)))
1 :> 'a
else if (ty.Equals (typeof (long)))
1L :> 'a
else if (ty.Equals (typeof (byte)))
1b :> 'a
else
throw System.NotImplementedException (ty.ToString ())
()
======================================================================
----------------------------------------------------------------------
nazgul - 02-12-06 19:50
----------------------------------------------------------------------
Fixed on trunk (r6122)
Issue History
Date Modified Username Field Change
======================================================================
01-28-06 14:15 nazgul New Issue
02-12-06 19:50 nazgul Status new => resolved
02-12-06 19:50 nazgul Resolution open => fixed
02-12-06 19:50 nazgul Assigned To => nazgul
02-12-06 19:50 nazgul Note Added: 0001085
02-12-06 19:50 nazgul Summary Casts from value type to
'a causes invalid IL => Casts from value type to \'a causes invalid IL
02-12-06 19:50 nazgul Description Updated
02-12-06 19:50 nazgul Additional Information Updated
05-22-06 18:06 nazgul Status resolved => closed
======================================================================
More information about the bugs
mailing list