Skip to content

Commit

Permalink
Merge pull request #263 from thetarnav/remove-wrong-semantic-tokens
Browse files Browse the repository at this point in the history
Remove writing semantic nodes for untyped and basic value symbols
  • Loading branch information
DanielGavin authored Oct 27, 2023
2 parents 20b0dc9 + a6e7fa7 commit 7e62cff
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions src/server/semantic_tokens.odin
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package server

import "core:odin/tokenizer"
import "core:odin/ast"
import "core:log"
import "core:fmt"
import "core:log"
import "core:odin/ast"
import "core:odin/tokenizer"

import "shared:common"

Expand Down Expand Up @@ -345,22 +345,6 @@ visit_node :: proc(
.Function,
modifier,
)
case SymbolUntypedValue:
write_semantic_node(
builder,
node,
ast_context.file.src,
.Type,
modifier,
)
case SymbolBasicValue:
write_semantic_node(
builder,
node,
ast_context.file.src,
.Type,
modifier,
)
case SymbolMatrixValue:
write_semantic_node(
builder,
Expand Down

0 comments on commit 7e62cff

Please sign in to comment.