Skip to content

Commit

Permalink
add inlay hint test for new type alias syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Mar 18, 2024
1 parent 5c0fe91 commit 3097df6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
U = TypeVar(name="U", bound=Function) # no inlay hint because typevar
P = ParamSpec(name="P") # no inlay hint because paramspec
_ = str(1) # no inlay hint because underscore only variable
Foo = int # inlay hint of "TypeAlias"
Foo = int # inlay hint of "TypeAlias"
type Bar = str # no inlay hint

0 comments on commit 3097df6

Please sign in to comment.