rsdn/nemerle — Issue #297: The compiler does not prefer aliases defined by the using directive.
Author: VladD2
Created: 2012-02-19 03:34:53+00:00
State: open
Labels: Bug, Compiler

```nemerle
using System;
using System.Console;
using System.Data.SqlTypes;

namespace LinqToDB.Common
{
public module Convert
{
public ToString(_ : object) : string { "OK" }
}
}

using Convert = LinqToDB.Common.Convert;

public module D
{

public Main() : void
{
WriteLine(Convert.ToString(null : object)); // E: ambiguity
}
}
```