Что-то как-то громоздко. Когда имена реальные — очень длиннннно получается.
class Asd[T]
{
private struct Sa
{
public struct Sb
{
public i : int;
}
public mutable aSb : array[Sb];
}
public static M() : void
{
def v = Sa();
v.aSb = array(3);
def en = v.aSb.GetEnumerator();
def cur = en.Current :> Sa.Sb; // error : cannot determine nested type parameters for `Sa.Sb', please use the fully qualified name
//def cur = en.Current :> Asd[T].Sa.Sb; // так работает
}
}
Здравствуйте, catbert, Вы писали:
___>> def cur = en.Current :> Sa.Sb; // error : cannot determine nested type parameters for `Sa.Sb', please use the fully qualified name
C>У меня никаких ошибок. Пользуюсь найтли-билдом.
У меня вот это:
NemerleSetup-net-4.0-v1.1.660.0-nightly.msi
Здравствуйте, catbert, Вы писали:
C>У меня этот же.
Ну а если так:
using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;
using Nemerle.Linq;
using System;
using System.Collections.Generic;
using System.Console;
using System.Linq;
using System.Diagnostics;
class Asd[T]
{
private struct Sa
{
public struct Sb
{
public i : int;
}
public mutable aSb : array[Sb];
}
public static M() : void
{
def v = Sa();
v.aSb = array(3);
def en = v.aSb.GetEnumerator();
def cur = en.Current :> Sa.Sb; // error : cannot determine nested type parameters for `Sa.Sb', please use the fully qualified name
//def cur = en.Current :> Asd[T].Sa.Sb; // так работает
}
}
module Program
{
Main() : void
{
}
}
Здравствуйте, Don Reba, Вы писали:
DR>Здравствуйте, _d_m_, Вы писали:
___>>Млин, попробуйте кто-нибудь еще, ну специально тест кейс создал, ну не может быть что только у меня.
DR>У меня та же ошибка. Компилятор собрал из исходников два дня назад. Использую четвёртый фреймворк.