eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Inconsistency in TypeVariableBinding.set* methods needs to be investigated

Open
#4,824 0 comments 0 reactions 1 assignee Claimed by @stephan-herrmann View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

Follow up from https://github.com/eclipse-jdt/eclipse.jdt.core/pull/4740#issuecomment-3864831961

We need to validate the seeming inconsistencies in TypeVariableBinding.set* methods wrt setting the tag bits `TagBits.HasNullTypeAnnotation` and `TagBits.HasMissingType`.

PR #4740 half heartedly implements the bit setting behavior for `setSuperClass` (but not for `setSuperInterfaces`) akin to `setFirstBound`

What is the right thing to do ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.