Commit c0f2292
authored
[ty] Add a note to the diagnostic if a new builtin is used on an old Python version (#18068)
## Summary
If the user tries to use a new builtin on an old Python version, tell
them what Python version the builtin was added on, what our inferred
Python version is for their project, and what configuration settings
they can tweak to fix the error.
## Test Plan
Snapshots and screenshots:
1 parent 5bf5f36 commit c0f2292
File tree
4 files changed
+118
-54
lines changed- crates
- ty_python_semantic
- resources/mdtest
- diagnostics
- snapshots
- src/types
- ty/docs
4 files changed
+118
-54
lines changed
0 commit comments