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

strictFuncs+views: add test that imports stdlib modules #16878

Merged
merged 1 commit into from
Feb 3, 2021

Commits on Feb 1, 2021

  1. strictFuncs+views: add test that imports stdlib modules

    This commit attempts to improve testing of strictFuncs and views, and
    prevent regressions like nim-lang#16873 (resolved by 0b01edd).
    
    We previously only explicitly tested strictFuncs and views with a
    smaller number of stdlib modules, mostly in:
    - tests/effects/tstrict_funcs.nim
    - tests/views/tcan_compile_nim.nim
    
    Note that this commit leaves the `pegs` module commented out; it
    cannot currently be compiled with `--experimental:views` (see nim-lang#16892).
    
    Note also that this commit is not sufficient to test strictFuncs and
    views, but it does detect a subset of problems.
    ee7 committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    73df251 View commit details
    Browse the repository at this point in the history