Closed adamierymenko closed 2 years ago
Thank you for submitting this issue! You managed to uncover TWO syntax issues with the above snippet. First, as you noted, is that return types weren't parsing generics and I don't know how this hasn't come up before. Second, I had overlooked the async
keyword for methods, which was breaking parsing.
I added fixes in the v2.0.2
patch release that I just submitted to the Extension Library.
Describe what doesn't look right It looks like certain template constructs throw off the highlighter. Can't figure out exactly what it is but I can reproduce.
Screenshots
How would you expect the features to be highlighted? It should highlight
Box<dyn Error>
and other things after it normallySample code
Additional Information