Stream: wg-traits

Topic: Reproducing Chalk problems


matklad (Dec 12 2019 at 15:49, on Zulip):

Recently, I've seen several various panics in chalk (the most recent one here). Should I just try to manually minimize them to a rust-analyzer test-case?

Or should we invest into some kind of tracing/bug-reproducing architecture for Chalk? I imagine if I could just dump everything chalks looks at into JSON, the minization would be faster then from-source minimization?

nikomatsakis (Dec 12 2019 at 18:22, on Zulip):

Hmm

nikomatsakis (Dec 12 2019 at 18:22, on Zulip):

I think both sound useful

nikomatsakis (Dec 12 2019 at 18:22, on Zulip):

But I do think that investment would pay off big time

nikomatsakis (Dec 12 2019 at 18:23, on Zulip):

e.g. that infinite loop bug was fairly easy to fix once we narrowed it down

nikomatsakis (Dec 12 2019 at 18:23, on Zulip):

but getting it to reproduce was a lot of the time

Florian Diebold (Dec 12 2019 at 19:29, on Zulip):

I did start building something like that a while ago... the code has probably rotted by now though, and I didn't go very far anyway

Last update: Jun 07 2020 at 09:20UTC