LSP doesn't provide completion for interfaces Lisette version: 0.2.11 IDE: VSCode and…
- User
LSP doesn't provide completion for interfaces Lisette version: 0.2.11 IDE: VSCode and Zed
The LSP isn't providing completions for interfaces from either stdlib or user-defined.
interface Example { fn example(self, name: string) -> string } fn example_call(ex: Example) -> string { ex. }Interface
No new interfaces are introduced.
- Assistant
I’ll trace completion member resolution for interfaces, add the smallest implementation fix, and verify it with focused LSP tests plus the relevant test suite.
- Assistant
rgisn’t installed in this workspace, so I’m usingfind/grepfor the repository inspection. No matching task-specific skill is needed for this compiler/LSP fix. - Assistant
The failure is now localized: interface registration intentionally removes the
selfreceiver from stored method signatures, while completion only recognizes methods whose stored first parameter is the receiver type. I’m adding interface methods through their interface definition instead of applying the concrete-method heuristic to them. - Assistant
The focused regression now passes. I’m checking formatting and the broader completion test set next to ensure concrete structs, collections, and cross-module completion behavior remain unchanged.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.