Stream: t-compiler/wg-rls-2.0

Topic: test with std library


Coenen Benjamin (May 06 2020 at 08:37, on Zulip):

Hello everyone ! I'm wondering if there is a way to add std lib analysis in a specific test case ? For example I'm trying to make a test with iterators on hover element.

matklad (May 06 2020 at 08:38, on Zulip):

No, by design not -- that would make the tests slow

matklad (May 06 2020 at 08:38, on Zulip):

Instead, relevant minimal bits of stdlib should be copied into a fixture

matklad (May 06 2020 at 08:38, on Zulip):

See, for example, FamousDefs::fixture in assists

Coenen Benjamin (May 06 2020 at 08:40, on Zulip):

I will take a look ! Thank you

Last update: Sep 22 2020 at 01:15UTC