Integrated: 7033677: potential cast error in MemberEnter
Archie L. Cobbs
duke at openjdk.org
Fri Feb 17 17:14:24 UTC 2023
On Thu, 16 Feb 2023 19:12:23 GMT, Archie L. Cobbs <duke at openjdk.org> wrote:
> In an `import` statement, the thing imported is always a `JCFieldAccess` (it's not legal in Java to import a simple name).
>
> Therefore the type of `JCFieldAccess.qualid`, which is currently `JCTree`, is unnecessarily wide and can be narrowed to `JCFieldAccess`.
This pull request has now been integrated.
Changeset: a917fb3f
Author: Archie L. Cobbs <archie.cobbs at gmail.com>
Committer: Vicente Romero <vromero at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a917fb3fcf0fe1a4c4de86c08ae4041462848b82
Stats: 24 lines in 8 files changed: 6 ins; 0 del; 18 mod
7033677: potential cast error in MemberEnter
Reviewed-by: vromero, jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/12606
More information about the compiler-dev
mailing list