-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ty] Add cycle handling to lazy_default
#20967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
77c70c0 to
ef58a8e
Compare
Diagnostic diff on typing conformance testsNo changes detected when running ty on typing conformance tests ✅ |
|
|
| @@ -1,2 +1,2 @@ | |||
| spark # too many iterations (in `exported_names` query), `should not be able to access instance member `spark` of type variable IndexOpsLike@astype in inferable position` | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second of the two panics mentioned here is presumably gone after Doug's recent work in #20677?
ef58a8e to
b2235db
Compare
| ``` | ||
|
|
||
|
|
||
| ### Cyclic defaults |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit too advanced Python typing for me 😅
I think it would be good to have some reveal_type or other assertion in this test but I need some help with what that assertion could be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
crates/ty_python_semantic/resources/mdtest/pep695_type_aliases.md
Outdated
Show resolved
Hide resolved
crates/ty_python_semantic/resources/mdtest/pep695_type_aliases.md
Outdated
Show resolved
Hide resolved
71093fa to
3a52106
Compare
3a52106 to
365b12b
Compare
Summary
Add cycle handling to
lazy_default.Test Plan
Added regression test