Skip to content

Update error message for Type application#20928

Open
hyperkai wants to merge 4 commits intopython:masterfrom
hyperkai:hyperkai-patch-21
Open

Update error message for Type application#20928
hyperkai wants to merge 4 commits intopython:masterfrom
hyperkai:hyperkai-patch-21

Conversation

@hyperkai
Copy link
Contributor

Fix: #20927

@github-actions

This comment has been minimized.

@hyperkai hyperkai closed this Feb 28, 2026
@hyperkai hyperkai reopened this Feb 28, 2026
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/commands/menu.py:63: error: Type application is only supported for generic classes  [misc]
+ tanjun/commands/menu.py:63: error: Type application is only supported for generic classes and type aliases  [misc]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using type application with a function call gets a wrong error message

1 participant