matthiasblaesing commented on PR #9784:
URL: https://github.com/apache/netbeans/pull/9784#issuecomment-7067296550
I did a quick check and extended the tests with this:
```
perfomAngleBracketsTest("A^<B<C<D>>^> a = new A<B<C<D>>>();");
perfomAngleBracketsTest("A<B^<C<D>^>> a = new A<B<C<D>>>();");
perfomAngleBracketsTest("A<B<C^<D^>>> a = new A<B<C<D>>>();");
perfomAngleBracketsTest("A<B<C<D>>> a = new A^<B<C<D>>^>();");
perfomAngleBracketsTest("A<B<C<D>>> a = new A<B^<C<D>^>>();");
perfomAngleBracketsTest("A<B<C<D>>> a = new A<B<C^<D^>>>();");
```
The second third and sixth entries fail. If I read the results correctly
this happens for the backwards mapping case.
Additonally relevant point: Changing `D` to `DEMO` lets the test pass, so I
suspect the offsets for the backwards scan for the GTGT and/or GTGTGT case are
off.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists