[nem-bug] [Nemerle 0000880]: Ncc allows to compile an invalid program

feedback at nemerle.org feedback at nemerle.org
Sat Oct 20 22:00:23 CEST 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=880> 
======================================================================
Reported By:                nikov
Assigned To:                divan
======================================================================
Project:                    Nemerle
Issue ID:                   880
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             02-06-2007 10:51 CET
Last Modified:              10-20-2007 22:00 CEST
======================================================================
Summary:                    Ncc allows to compile an invalid program
Description: 
Compile and run the following:

_ = array[null : void]

You will get:

Unhandled Exception: System.InvalidProgramException: Common Language
Runtime det
ected an invalid program.
   at Class1.Main()
======================================================================

----------------------------------------------------------------------
 divan - 10-20-07 22:00 
----------------------------------------------------------------------
Fixed on r7821. Arrays of void are banned.



Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-06-07 10:51 nikov          New Issue                                    
10-20-07 14:10 divan          Issue Monitored: divan                       
10-20-07 22:00 divan          Note Added: 0001972                          
10-20-07 22:00 divan          Assigned To               => divan           
10-20-07 22:00 divan          Status                   new => resolved     
10-20-07 22:00 divan          Resolution               open => fixed       
10-20-07 22:00 divan          Description Updated                          
======================================================================




More information about the bugs mailing list