От: | _nn_ | www.nemerleweb.com | |
Дата: | 22.04.10 09:59 | ||
Оценка: |
namespace SystemActionVsAction {
using System;
public variant Action {
| B
| C
}
public module M {
public foo (x : Action) : void {
_ = x is Action.B
}
}
}
namespace A
{
class X {}
}
namespace B
{
using A;
variant X
{
| Q
| W
}
public module M
{
public F(x : X) : void
{
}
}
}
Error: type name 'X' is ambiguous, it could be: