Skip to content

Conversation

micahscopes
Copy link
Collaborator

@micahscopes micahscopes commented Aug 1, 2025

please ignore this experiment

don't merge this it was only for science

micahscopes and others added 10 commits July 31, 2025 14:19
- Fixed unused variable warnings in tooling_api.rs
- Added missing LazySpan import to fix compilation
- Updated test snapshots to consistent (line, column) format
- All tests now passing: 81 in hir-analysis, 8 in language-server

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Added visit_expr method to PositionCollector to handle method calls and field access
- Method calls like container.get() are being detected (positions created) but resolution returns empty paths
- Complex method calls like self.inner.foo() are not being detected at all
- Need to debug why probe_method_for_language_server is failing for simple cases
- Need to investigate why method calls on complex receiver expressions aren't detected

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Made LocalBinding and ExprProp.binding field public in ty_check::env
- Re-exported LocalBinding from ty_check module
- Removed duplicate PublicLocalBinding enum and used real LocalBinding throughout
- Added helper function get_local_binding_definition_span for goto functionality
- Cleaned up analyze_function_for_language_server to use real binding data

This provides much better integration with the existing type checking machinery.
Method call resolution issue still remains - positions detected but resolution failing.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@micahscopes micahscopes changed the title Lsp tooling upgrade Lsp tooling upgrade experiment Aug 1, 2025
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.

1 participant