[nem-bug] [Nemerle 0000814]: Nemerle default indexer not compatibility with C#

feedback at nemerle.org feedback at nemerle.org
Wed Dec 27 09:59:24 CET 2006


The following issue requires your FEEDBACK.
======================================================================
<http://nemerle.org/bugs/view.php?id=814> 
======================================================================
Reported By:                VladD2
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   814
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             12-27-2006 05:06 CET
Last Modified:              12-27-2006 09:59 CET
======================================================================
Summary:                    Nemerle default indexer not compatibility with C#
Description: 
If create in Nemerle assembly which containe type with default accessor:
public Item[fileIndex : int] : SomeType
{
  get
  {
    ...
  }
}
and try use it from C# application you get error:
error CS0570: 'Nemerle.Completion2.CompileUnitCollection.this[int]' is not
supported by the language

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

----------------------------------------------------------------------
 malekith - 12-27-06 09:59 
----------------------------------------------------------------------
It works for me. Moreover the generated IL seems to be *exactly* the same
as in C# (using gmcs). Could you provide a self-contained example?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-27-06 05:06 VladD2         New Issue                                    
12-27-06 09:59 malekith       Note Added: 0001588                          
12-27-06 09:59 malekith       Status                   new => feedback     
12-27-06 09:59 malekith       Description Updated                          
======================================================================




More information about the bugs mailing list