[nem-bug] [Nemerle 0000831]: Invalid IL with RList.Update (other methods work fine)

feedback at nemerle.org feedback at nemerle.org
Sun Jan 21 21:58:17 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-21-2007 21:58 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);

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                          
======================================================================




More information about the bugs mailing list