aboutsummaryrefslogtreecommitdiff
path: root/src/server/analysis.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/analysis.odin')
-rw-r--r--src/server/analysis.odin9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index d65a410..66299e8 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -408,12 +408,7 @@ are_symbol_basic_same_keywords :: proc(a, b: Symbol) -> bool {
return true
}
-is_symbol_same_typed :: proc(
- ast_context: ^AstContext,
- a, b: Symbol,
- flags: ast.Field_Flags = {},
- ignore_pointers := false,
-) -> bool {
+is_symbol_same_typed :: proc(ast_context: ^AstContext, a, b: Symbol, flags: ast.Field_Flags = {}) -> bool {
// In order to correctly equate the symbols for overloaded functions, we need to check both directions
if same, ok := are_symbol_untyped_basic_same_typed(a, b); ok {
return same
@@ -428,7 +423,7 @@ is_symbol_same_typed :: proc(
return false
}
- if !ignore_pointers && a.pointers != b.pointers {
+ if a.pointers != b.pointers {
return false
}