Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix type query for recursive aliases#14136

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hauntsaninja merged 2 commits intopython:masterfromilevkivskyi:fix-rec-report
Nov 19, 2022

Conversation

@ilevkivskyi
Copy link
Member

@ilevkivskyiilevkivskyi commentedNov 18, 2022
edited
Loading

See#14130 for context.

Btw it looks like theseAny reports are quite broken in general. Some issues I found:

  • Many types are reported twice (even non-recursive)
  • ExplicitAny in alias r.h.s are not counted (because of recklessres = make_any_non_explicit(res) in semanal.py)
  • For generic aliases we count their r.h.s. as containingAny from omitted generics

I tried to fix these things, but it is not trivial, so maybe we can do it later in a separate PR.

@github-actions
Copy link
Contributor

According tomypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Collaborator

@hauntsaninjahauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice, looks like CollectAllInnerTypesQuery was the only query that overrode query_types

@hauntsaninjahauntsaninja merged commit6cd8e00 intopython:masterNov 19, 2022
@ilevkivskyiilevkivskyi deleted the fix-rec-report branchNovember 19, 2022 08:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hauntsaninjahauntsaninjahauntsaninja approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ilevkivskyi@hauntsaninja

[8]ページ先頭

©2009-2025 Movatter.jp