tonybaloney / CSnakes

https://tonybaloney.github.io/CSnakes/
MIT License
39 stars 6 forks source link

Callable[[args], ret] breaks the parser #170

Open tonybaloney opened 2 weeks ago

tonybaloney commented 2 weeks ago

Related to #169

https://peps.python.org/pep-0677/

The following syntax breaks the parser:

def f(a: Callable[[str], int]) -> None:
  ...