Selection range omits closing paren #22566
Labels
area:presentation-compiler
Related to the presentation compiler module used by Metals and possibly other tools
itype:bug
Spree
Suitable for a future Spree
Compiler version
3.6.3
Minimized code
Requesting selection ranges with cursor at
@@
below:Output
The selection ranges returned are:
56
(good)34 + 56
(good)12 * (34 + 56
(not good)Expectation
The final selection range should be
12 * (34 + 56)
(with the closing paren).Here's a patch to produce a test case for this.
Here's the output of running that test at time of reporting
The text was updated successfully, but these errors were encountered: