[nem-bug] [Nemerle 0001054]: A.prop [0] => can't resolve resolvable ambiguity

feedback at nemerle.org feedback at nemerle.org
Sat Oct 20 06:53:28 CEST 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1054> 
======================================================================
Reported By:                divan
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1054
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-20-2007 06:53 CEST
Last Modified:              10-20-2007 06:53 CEST
======================================================================
Summary:                    A.prop [0] => can't resolve resolvable ambiguity
Description: 
Following code doesn't compile, showing strange overload resolution
output.
list[int] can be replaced with int*int, same effect.

Simple workaround is  (A ().p : _) [0]

There should be a better example, because i think it's not member vs outer
function ambiguity, it's something like thinking that it's a call to
indexer of A.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-20-07 06:53 divan          New Issue                                    
======================================================================




More information about the bugs mailing list