[nem-bug] [Nemerle 0000831]: Invalid IL with RList.Update (other
methods work fine)
feedback at nemerle.org
feedback at nemerle.org
Tue Jan 23 18:17:39 CET 2007
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=831>
======================================================================
Reported By: d
Assigned To: d
======================================================================
Project: Nemerle
Issue ID: 831
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 01-20-2007 20:31 CET
Last Modified: 01-23-2007 18:17 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-23-07 18:17
----------------------------------------------------------------------
Fixed on mono svn.
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
01-23-07 10:40 d Note Edited: 0001632
01-23-07 18:16 d Note Edited: 0001632
01-23-07 18:17 d Note Deleted: 0001632
01-23-07 18:17 d Status new => resolved
01-23-07 18:17 d Resolution open => fixed
01-23-07 18:17 d Assigned To => d
01-23-07 18:17 d Note Added: 0001633
======================================================================
More information about the bugs
mailing list