[nem-bug] [Nemerle 0001039]: Type System.Byte must be compatible with array index

feedback at nemerle.org feedback at nemerle.org
Sun Aug 12 17:30:41 CEST 2007


The following issue has been UPDATED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1039> 
======================================================================
Reported By:                GlebZ
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   1039
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             08-12-2007 00:06 CEST
Last Modified:              08-12-2007 17:30 CEST
======================================================================
Summary:                    Type System.Byte must be compatible with array index
Description: 
#pragma indent
public class TestArr
    arr:array[int]
    public this()
        arr=array(127)
        def b:byte = 10b 
        arr[b]=1   //error
    
module Test
    Main():void
        _=TestArr()
======================================================================

----------------------------------------------------------------------
 VladD2 - 08-12-07 11:22 
----------------------------------------------------------------------
The identation syntax not supported yet by Intellisense Engine.

----------------------------------------------------------------------
 GlebZ - 08-12-07 17:09 
----------------------------------------------------------------------
Ooops. Sorry Vlad. I sended bug with wrong category. Real category is
Compilator, of course, but I can't change it.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
08-12-07 00:06 GlebZ          New Issue                                    
08-12-07 00:06 GlebZ          File Added: testing.n                        
08-12-07 00:07 GlebZ          Issue Monitored: GlebZ                       
08-12-07 11:22 VladD2         Note Added: 0001941                          
08-12-07 11:22 VladD2         Status                   new => assigned     
08-12-07 11:22 VladD2         Assigned To               => VladD2          
08-12-07 17:09 GlebZ          Note Added: 0001942                          
08-12-07 17:29 VladD2         Assigned To              VladD2 => malekith  
08-12-07 17:30 VladD2         Category                 Code Completion Engine =>
Compiler (type engine)
08-12-07 17:30 VladD2         Description Updated                          
08-12-07 17:30 VladD2         Additional Information Updated                    
======================================================================




More information about the bugs mailing list