This holds for both version 1.4 & 2.
When a python code has annotation for a function’s return type,
the syntax highlighting of the following code is all broken.
For example:
def foo( value: int ) -> int:
return value + 2
# all syntax highlighting broken below this line
...