MagicPython icon indicating copy to clipboard operation
MagicPython copied to clipboard

Support for type parameters

Open alexr00 opened this issue 8 months ago • 0 comments

Steps to Reproduce:

Consider the following code, using type parameters with python >= 3.13:

def f[T](x: T) -> T: ...

The -> is highlighted red, seemingly indicating a syntax error, although there is no syntax error.

Originally from @s-banach in https://github.com/microsoft/vscode/issues/251997

alexr00 avatar Jul 08 '25 09:07 alexr00