Bug Report
🔎 Search Terms
circularity getter
🕗 Version & Regression Information
- This is the behavior in every version I tried
⏯ Playground Link
Playground link with relevant code
💻 Code
typeBox={content?: Foo|Box};declareconstb: Box;classFoo{getfoo(){return{content: thisasFoo|Box,
...b};}}🙁 Actual behavior
Circularity error on 'foo' when this is probably deferrable
🙂 Expected behavior
No circularity error
Ref. #46981
Bug Report
🔎 Search Terms
circularity getter
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
Circularity error on 'foo' when this is probably deferrable
🙂 Expected behavior
No circularity error
Ref. #46981