[nem-bug] [Nemerle 0001024]: Unable to access elements of
array[IntPtr]
feedback at nemerle.org
feedback at nemerle.org
Mon Jun 11 12:31:07 CEST 2007
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1024>
======================================================================
Reported By: msinger
Assigned To: malekith
======================================================================
Project: Nemerle
Issue ID: 1024
Category: Compiler
Reproducibility: always
Severity: trivial
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 06-07-2007 22:49 CEST
Last Modified: 06-11-2007 12:31 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.
======================================================================
----------------------------------------------------------------------
malekith - 06-11-07 12:31
----------------------------------------------------------------------
Thank you, patch applied on trunk (r 7700).
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
06-11-07 12:31 malekith Status new => resolved
06-11-07 12:31 malekith Resolution open => fixed
06-11-07 12:31 malekith Assigned To => malekith
06-11-07 12:31 malekith Note Added: 0001914
======================================================================
More information about the bugs
mailing list