Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не работает функция reset в энумераторах по Array и Container. #2

Open
mazzy-ax opened this issue Sep 14, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mazzy-ax
Copy link
Owner

Не работает функция reset в энумераторах по Array и Container. Возможно и по всем родственным с ними энумераторам тоже.

void testSysEnumeratorContainer()
{
    SysEnumerator   se;
    container       con = [1,2,3];
;
    info("step1");
    se  = SysEnumerator::Container(con);
    while (se.moveNext())
    {
        info(strfmt("%1",se.current()));
    }
    info("step2");
    se.reset();
    while (se.moveNext())
    {
        info(strfmt("%1",se.current()));
    }
}
@mazzy-ax mazzy-ax added the bug Something isn't working label Sep 14, 2020
@mazzy-ax mazzy-ax self-assigned this Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant