Skip to content

Conversation

keynmol
Copy link
Contributor

@keynmol keynmol commented Aug 16, 2023

See https://sourcegraph.com/github.com/lampepfl/dotty/-/blob/compiler/src/dotty/tools/dotc/semanticdb/SemanticSymbolBuilder.scala?L59

I'm not sure if we can treat it as a local instead, given that it's explicitly coming from a failed local table lookup.

This is a stopgap solution to at least not completely crash over it.

Test plan

N/A - difficult to say if this behaviour is intentional on Scala 3 side

@keynmol keynmol marked this pull request as ready for review August 16, 2023 09:59
@@ -12,6 +12,7 @@
public final class SemanticdbSymbols {

public static String NONE = "";
public static String NONE_STUB = "<?>";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth adding a comment explaining why this exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants