[nem-bug] [Nemerle 0000845]: array[int] shall not implement IList[object]

feedback at nemerle.org feedback at nemerle.org
Sun Jan 28 09:40:27 CET 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=845> 
======================================================================
Reported By:                nikov
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   845
Category:                   Compiler
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-28-2007 09:40 CET
Last Modified:              01-28-2007 09:40 CET
======================================================================
Summary:                    array[int] shall not implement IList[object]
Description: 
array[int] shall not implement System.Collections.Generic.IList[object]
because there is no implicit reference conversion between 'int' and
'object'.

using System.Collections.Generic;

module A {
	Foo(x : array[int]) : IList[object] {
		x
	}
	Main() : void { 
		_ = Foo(array[1,2,3]).GetEnumerator();
	}
}
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-28-07 09:40 nikov          New Issue                                    
======================================================================




More information about the bugs mailing list