Resolution fails for go files inline with proto files #5538
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
lang: go
Go rules integration
product: IntelliJ
IntelliJ plugin
type: bug
Description of the bug:
Failure case: https://github.com/ramilmsh/golangtest
When using proto generated files along with inline go files to extend functionality of the generated structures, symbol resolution fails
As far as I understand, the issue is that this file is never picked up https://github.com/ramilmsh/golangtest/blob/46ccea35e2b6cdaf2bea658ebcbc34167b1fbfb7/libs/b/b.go#L5
And so the function is never analyzed.
Same logic works in vscode, since gopackagesdriver finds it alright:
And bazel builds it without errors:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Minimal example can be found here: https://github.com/ramilmsh/golangtest
Which Intellij IDE are you using? Please provide the specific version.
GoLand 2023.2 Build #GO-232.8660.185
What programming languages and tools are you using? Please provide specific versions.
go
What Bazel plugin version are you using?
2023.07.21.0.1-api-version-232
Have you found anything relevant by searching the web?
not really
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: