[nem-bug] [Nemerle 0000994]: Wrong "ambiguity between overloads"
feedback at nemerle.org
feedback at nemerle.org
Sat May 5 14:06:00 CEST 2007
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=994>
======================================================================
Reported By: VladD2
Assigned To: VladD2
======================================================================
Project: Nemerle
Issue ID: 994
Category: Code Completion Engine
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 04-26-2007 08:35 CEST
Last Modified: 05-05-2007 14:06 CEST
======================================================================
Summary: Wrong "ambiguity between overloads"
Description:
If in VS Integration enable Typer2 (see
http://nemerle.org/svn/vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeTyper.n
line 32)
following code:
using System.Console;
module Program
{
Main() : void
{
def cnv = x => "0x" +
x.ToString("X"); // ambiguity between overloads ... ToString ...
WriteLine(cnv(2));
}
}
cause ambiguity between overloads on ToString method.
======================================================================
----------------------------------------------------------------------
VladD2 - 04-26-07 08:42
----------------------------------------------------------------------
Problem in line 236 in
http://nemerle.org/svn/nemerle/trunk/ncc/typing/Typer2.n
----------------------------------------------------------------------
malekith - 05-03-07 15:43
----------------------------------------------------------------------
The problem is that you're not running delayed typing, which you're
supposed to do before calling T2. Just call the RunDelayedTypings() method
from Typer.
----------------------------------------------------------------------
VladD2 - 05-05-07 14:06
----------------------------------------------------------------------
Fixed in rev. 7650
Issue History
Date Modified Username Field Change
======================================================================
04-26-07 08:35 VladD2 New Issue
04-26-07 08:42 VladD2 Note Added: 0001850
05-03-07 15:43 malekith Note Added: 0001869
05-05-07 14:06 VladD2 Status new => resolved
05-05-07 14:06 VladD2 Resolution open => fixed
05-05-07 14:06 VladD2 Assigned To => VladD2
05-05-07 14:06 VladD2 Note Added: 0001875
======================================================================
More information about the bugs
mailing list