RFR: 8307814: In the case of two methods with Record Patterns, the second one contains a line number from the first method
Vicente Romero
vromero at openjdk.org
Mon May 22 16:39:49 UTC 2023
On Mon, 22 May 2023 15:12:16 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> `TransPatterns` is not setting the position for `TreeMaker` when unrolling record patterns, leading to weird content of the `LineNumberTable`. The proposal is to set the position.
>
> For tests, it attempts to make the tests more general/allow more strict checks on the LNT.
lgtm
-------------
Marked as reviewed by vromero (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14087#pullrequestreview-1437021254
More information about the compiler-dev
mailing list