Stream: t-compiler/wg-rls-2.0

Topic: Cancel salsa query


Edwin Cheng (Apr 21 2019 at 21:24, on Zulip):

E.g. In the case of macro expansion, if there is a very deep expansion, how to cancel it? The ‘hir_parse’ is behind salsa, i can’t pass the “stack counter” in it.

matklad (Apr 21 2019 at 21:26, on Zulip):

I think we shouldn't literally cancle this, we should just return a dummy result

matklad (Apr 21 2019 at 21:26, on Zulip):

and yeah, I think the tricky bit here is figuring out how to pass in the stack counter...

matklad (Apr 21 2019 at 21:26, on Zulip):

I guess, we could just add counter to MacroCallLoc?

Last update: Nov 12 2019 at 16:40UTC