Closed Gama11 closed 6 years ago
The issue here is that the )
in (T -> Void)
closes the function parameter scope (which is why highlighting is correct until there).
The way I fixed it, it still breaks in case the nested function type is a type hint in an arrow function parameter itself... But that should be really rare.