You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginescope:infraCI, tooling, churn/factory, docs infrastructure
#3757 is still open for Java.#3757 stopped TypeScript and JavaScript links from landing on bodyless declarations: interface members, abstract methods and overload signatures. It did this through def_shape = signature, which the resolver skips. That classification is TS/JS-only, so Java's interface methods and abstract methods are still link targets.
Evidence
Measured vs scip-java 0.12.3 on google/gson @ 854c8255 (#3783). There are 161 confident links in the unmapped_dst verdict: the engine's target has no counterpart with a body. Samples, checked in source:
extras/.../InterceptorFactory.javaread calls postDeserializer.postDeserialize(result);. The engine links JsonPostDeserializer.java:postDeserialize@30, which is public void postDeserialize(T object);, an interface method with no body.
gson/.../TypeAdapter.javatoJson calls write(writer, value);. The engine links TypeAdapter.java:write@131, which is public abstract void write(JsonWriter out, T value).
Likely fix
Extend the detector's def_shape classification to Java. A method declaration that ends in ; with no body becomes signature, which covers interface and abstract methods. The resolver already skips signatures.
This is the same fix as #3767, applied to one more language. Keep its language scoping, and add a guard test for languages without bodyless declarations. C# and Kotlin interfaces have the same shape, so they're candidates for the same change.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginescope:infraCI, tooling, churn/factory, docs infrastructure
Activity
golden masters: re-bless for #3836 (bodyless Java methods are never c…
Call resolver (java): bodyless interface/abstract methods are never c…