PostAnalysis
mode no longer eagerly reveals opaque types
#153
Labels
PostAnalysis
mode no longer eagerly reveals opaque types
#153
affected test
This encounters a query cycle with the old solver as evaluating
1 + 2
ends up normalizing the where-clauseBar: Send
, normalizingBar
relies on type checkingfoo
as its a defining use. We encounter these cycles whenever there's an opaque type in a where-clause of its defining scope and we evaluate a constant during typeck.The new solver does not eagerly normalize its
ParamEnv
when switching to post analysis, causing us to only fail with a cycle error when actually trying to use that where-bound.The text was updated successfully, but these errors were encountered: