Allow nested placeholders in type alias definitions? #7111
Labels
feature
priority-1-normal
semantic-analyzer
Problems that happen during semantic analysis
topic-type-alias
TypeAlias and other type alias issues
Uh oh!
There was an error while loading. Please reload this page.
PR #7091 broke some previously supported uses involving type aliases with the new semantic analyzer, since it doesn't allow nested placeholder types in type alias definitions. Example where this happens (there are other similar test cases; see #7091):
It would be better if there were no complaints about cyclic definitions and the revealed types were precise.
Support for nested placeholder types was removed since it causes infinite expansions and max iteration count errors. We'd need a way to prevent this to re-enable the feature.
The text was updated successfully, but these errors were encountered: