[nem-bug] [Nemerle 0000831]: Invalid IL with RList.Update (other
methods work fine)
feedback at nemerle.org
feedback at nemerle.org
Mon Jan 22 21:52:01 CET 2007
A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=831>
======================================================================
Reported By: d
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 831
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 01-20-2007 20:31 CET
Last Modified: 01-22-2007 21:52 CET
======================================================================
Summary: Invalid IL with RList.Update (other methods work
fine)
Description:
I've tested most methods in RList. On old mono invalid IL was produced for
nearly all of them, now with the latest svn ncc and mono 1.2.2.1 (OSX),
they seem to work fine except for Update. Using it fails at runtime with:
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
Nemerle.Collections.RList`1:_Update
(Nemerle.Builtins.Function`2,int,Nemerle.Collections.RList`1): IL_004a:
call 0x0a000847
at <0x00000> <unknown method>
at Nemerle.Collections.RList`1[System.Int32].Update (Int32 , Int32 )
[0x00000]
at Nemerle.Collections.RList`1[System.Int32].Update (Int32 , Int32 )
[0x00000]
======================================================================
----------------------------------------------------------------------
nazgul - 01-21-07 17:48
----------------------------------------------------------------------
Some ready to use testcase?
----------------------------------------------------------------------
d - 01-21-07 21:58
----------------------------------------------------------------------
using Nemerle.Collections.RList;
Cons (1, Empty).Update (0, 2);
----------------------------------------------------------------------
nazgul - 01-22-07 17:38
----------------------------------------------------------------------
Yeah, it works find on MS.NET of course... so we need a bug report for
mono. As always the scenario is:
- separate out RList and failing test into single test case
- remove all non-necessary functions from RList module, i.e. make test
case minimal
- convert to C#
- report in mono
Any volunteers
----------------------------------------------------------------------
d - 01-22-07 21:52
----------------------------------------------------------------------
I'll make the testcase tonight. Standby ;]
Issue History
Date Modified Username Field Change
======================================================================
01-20-07 20:31 d New Issue
01-21-07 17:48 nazgul Note Added: 0001620
01-21-07 21:58 d Note Added: 0001626
01-22-07 17:38 nazgul Note Added: 0001630
01-22-07 21:52 d Note Added: 0001632
======================================================================
More information about the bugs
mailing list