[nem-bug] [Nemerle 0000994]: Wrong "ambiguity between overloads"
feedback at nemerle.org
feedback at nemerle.org
Thu May 3 15:43:28 CEST 2007
A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=994>
======================================================================
Reported By: VladD2
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 994
Category: Code Completion Engine
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 04-26-2007 08:35 CEST
Last Modified: 05-03-2007 15:43 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.
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
======================================================================
More information about the bugs
mailing list