You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: The syntax highlighting for typescript fails when there's a newline in the function parameters AND the return type has 3 levels of generics where one of them has two parameters.
The best minimal test case I can provide is the following:
Changing the return type's nesting seems to make it work again, but it seems that the presence of the "," and the newline in the argument list makes the coloring for the function body fail.
screenshot:
VS Code version: Code - Insiders 1.51.0-insider (f5d3ba4d61146b78f0c75c82f3f85232d3409bc1, 2020-10-09T05:34:46.257Z)
OS version: Linux x64 5.4.0-42-generic
Issue Type: Bug
Summary: The syntax highlighting for typescript fails when there's a newline in the function parameters AND the return type has 3 levels of generics where one of them has two parameters.
The best minimal test case I can provide is the following:
Changing the return type's nesting seems to make it work again, but it seems that the presence of the "," and the newline in the argument list makes the coloring for the function body fail.
screenshot:
VS Code version: Code - Insiders 1.51.0-insider (f5d3ba4d61146b78f0c75c82f3f85232d3409bc1, 2020-10-09T05:34:46.257Z)
OS version: Linux x64 5.4.0-42-generic
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: