[nem-bug] [Nemerle 0000767]: Can't implement generic interface methods.

feedback at nemerle.org feedback at nemerle.org
Tue Sep 26 15:46:44 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=767> 
======================================================================
Reported By:                objectx
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   767
Category:                   Compiler (parser/macros engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-26-2006 15:46 CEST
Last Modified:              09-26-2006 15:46 CEST
======================================================================
Summary:                    Can't implement generic interface methods.
Description: 
When Compiling the class below...

class MyEnumerable : IEnumerable[int] {
    private data_ = array [0, 1, 2, 3] : array [int] ;

    public GetEnumerator () : IEnumerator {
        data_.GetEnumerator () ;
    }
    public GetEnumeratorOfInt32 () : IEnumerator [int] implements
IEnumerable [int].GetEnumerator {
        (data_ : IEnumerable [int]).GetEnumerator () ;
    }
}

ncc.exe says:

Z:\transient\objectx\Nemerle\main.n(9,5,18,6): error : simple identifier
expected in explicit implementation specifier

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-26-06 15:46 objectx        New Issue                                    
======================================================================




More information about the bugs mailing list