Integrated: 8275097: Wrong span of the 'default' tag

Jan Lahoda jlahoda at openjdk.java.net
Mon Nov 8 13:24:43 UTC 2021


On Tue, 12 Oct 2021 07:56:41 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> The span of the 'default' case label AST node is wrong when `default:` is encountered. This patch fixes the positions to be reasonable (i.e. the span of the AST node should be the characters 'default').

This pull request has now been integrated.

Changeset: 0c2d00bf
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0c2d00bff7b96cca53820aadfdaf09c840a2a33a
Stats:     96 lines in 3 files changed: 89 ins; 3 del; 4 mod

8275097: Wrong span of the 'default' tag

Reviewed-by: vromero

-------------

PR: https://git.openjdk.java.net/jdk/pull/5905


More information about the compiler-dev mailing list