[nem-bug] [Nemerle 0001054]: A.prop [0] => can't resolve resolvable
ambiguity
feedback at nemerle.org
feedback at nemerle.org
Sat Oct 20 17:38:06 CEST 2007
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1054>
======================================================================
Reported By: divan
Assigned To: divan
======================================================================
Project: Nemerle
Issue ID: 1054
Category: Compiler (type engine)
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 10-20-2007 06:53 CEST
Last Modified: 10-20-2007 17:38 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.
======================================================================
----------------------------------------------------------------------
divan - 10-20-07 17:38
----------------------------------------------------------------------
Fixed on r7817.
Now such expression is treated as indexer only if there is indexer
overload.
Of course it's still not perfect, but works for now ;)
Issue History
Date Modified Username Field Change
======================================================================
10-20-07 06:53 divan New Issue
10-20-07 06:53 divan Issue Monitored: divan
10-20-07 15:11 divan Status new => assigned
10-20-07 15:11 divan Assigned To => divan
10-20-07 17:38 divan Note Added: 0001970
10-20-07 17:38 divan Status assigned => resolved
10-20-07 17:38 divan Summary A.prop [0] => can't
resolve resolvable ambiguity => A.prop [0] => can\'t resolve resolvable
ambiguity
10-20-07 17:38 divan Description Updated
10-20-07 17:38 divan Additional Information Updated
======================================================================
More information about the bugs
mailing list