[nem-bug] [Nemerle 0001024]: Unable to access elements of array[IntPtr]

feedback at nemerle.org feedback at nemerle.org
Thu Jun 7 22:49:23 CEST 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1024> 
======================================================================
Reported By:                msinger
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1024
Category:                   Compiler
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-07-2007 22:49 CEST
Last Modified:              06-07-2007 22:49 CEST
======================================================================
Summary:                    Unable to access elements of array[IntPtr]
Description: 
The following code causes an internal compiler error:

class Program
{
  public static Main() : void
  {
    def x : array[System.IntPtr] = array(5);
    _ = x[0]; // <-- Internal compiler error
  }
}

I attached a patch for the file "ncc/generation/ILEmitter.n".
This should fix it.

======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-07-07 22:49 msinger        New Issue                                    
06-07-07 22:49 msinger        File Added: ILEmitter.n.patch                    
======================================================================




More information about the bugs mailing list