aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-04-22 16:50:08 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2021-04-22 16:50:08 +0200
commit500322e6866bb46ffa405ef031f908594a23f643 (patch)
tree374fc91f21f939b1ef622416cbe7c3388b4ca006
parent46faf2aaff7afe1354f6d471aaac022105b6a693 (diff)
remove dead code comment
-rw-r--r--src/server/analysis.odin13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index f1e5041..d706ebb 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -740,19 +740,6 @@ resolve_type_identifier :: proc(ast_context: ^AstContext, node: ast.Ident) -> (i
}
}
- /*
- //handle all the recursive identifier nonsense + shadowing
- if node.name == ast_context.last_ident_lookup {
- //ERROR NO COMPLETION ON LOCAL
- if local, is_local := ast_context.locals[node.name]; is_local && len(local) == 1 {
-
- //return {}, false;
- } else if _, is_global := ast_context.globals[node.name]; is_global {
- return {}, false;
- }
- }
- */
-
ast_context.last_ident_lookup = node.name;
//note(Daniel, if global and local ends up being 100% same just make a function that takes the map)